Fix uninitialized action id variable
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 8 Jan 2009 20:26:15 +0000 (21:26 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 8 Jan 2009 20:26:15 +0000 (21:26 +0100)
plugins/polkit.c

index de183a2..247721e 100644 (file)
@@ -47,7 +47,7 @@ static int polkit_authorize(const char *sender,
        PolKitCaller *caller;
        PolKitAction *action;
        PolKitResult result;
-       const char *id;
+       const char *id = NULL;
 
        DBG("sender %s", sender);