]> git.sthu.org Git - joydevmap.git/commitdiff
remove warning
authorStefan Huber <shuber2@gmx.at>
Sat, 24 Dec 2011 12:10:39 +0000 (13:10 +0100)
committerStefan Huber <shuber2@gmx.at>
Sat, 24 Dec 2011 12:10:39 +0000 (13:10 +0100)
src/main.c

index aa794619044128c35ba7cfffaff824d53e774c0d..dc57bd6f18a61113a137e2101e3d0423ac69c702 100644 (file)
@@ -31,6 +31,7 @@ void reportMissingArgument(const char* opt)
        exit(EXIT_INVARG);
 }
 
+
 void printHelp(FILE* out, int argc, char** argv)
 {
        (void) argc;
@@ -314,8 +315,7 @@ int main(int argc, char** argv)
        int argListButtonmap=0;
        char* argSetAxismap=0;
        char* argSetButtonmap=0;
-       char* dev;
-
+       char* dev=0;
 
 
        for(int i=1; i<argc; ++i)