Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variable

This commit is contained in:
Martin Willi
2011-05-19 15:47:40 +02:00
parent d30df6ff3d
commit 513701f41b
12 changed files with 19 additions and 33 deletions
-2
View File
@@ -233,7 +233,6 @@ int main (int argc, char **argv)
struct stat stb;
char *err = NULL;
int i;
int id = 1;
struct timeval tv;
@@ -495,7 +494,6 @@ int main (int argc, char **argv)
*/
if (_action_ & FLAG_ACTION_UPDATE)
{
err = NULL;
DBG(DBG_CONTROL,
DBG_log("Reloading config...")
);