mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Fix a bunch of compiler warnings generated by gcc 4.6.0.
Most of these are -Wunused-but-set-variable, but there were a few others mixed in here, as well. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@316265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -112,7 +112,6 @@ static int ices_exec(struct ast_channel *chan, const char *data) | ||||
| 	int pid = -1; | ||||
| 	int flags; | ||||
| 	int oreadformat; | ||||
| 	struct timeval last; | ||||
| 	struct ast_frame *f; | ||||
| 	char filename[256]=""; | ||||
| 	char *c; | ||||
| @@ -122,8 +121,6 @@ static int ices_exec(struct ast_channel *chan, const char *data) | ||||
| 		return -1; | ||||
| 	} | ||||
| 	 | ||||
| 	last = ast_tv(0, 0); | ||||
| 	 | ||||
| 	if (pipe(fds)) { | ||||
| 		ast_log(LOG_WARNING, "Unable to create pipe\n"); | ||||
| 		return -1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user