summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-22 21:46:32 +0100
committerinfirit <[email protected]>2014-11-22 21:46:32 +0100
commit246d3cdb024f50f27fb938f143936ace5337cf05 (patch)
treedda191a3382869a76fb85986000b10ebe8f3fd5c
parentf1bfbcadb4b9e8343f347d08b2af32d99f8a706b (diff)
downloadengrampa-246d3cdb024f50f27fb938f143936ace5337cf05.tar.bz2
engrampa-246d3cdb024f50f27fb938f143936ace5337cf05.tar.xz
Fix warnings
-rw-r--r--src/fr-init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fr-init.c b/src/fr-init.c
index 0881eaf..cf567a1 100644
--- a/src/fr-init.c
+++ b/src/fr-init.c
@@ -20,6 +20,7 @@
*/
#include <config.h>
+#include <stdlib.h>
#include <glib/gi18n.h>
#include "file-data.h"
#include "file-utils.h"
@@ -598,8 +599,7 @@ compute_supported_archive_types (void)
}
-static initialized = FALSE;
-
+static gboolean initialized = FALSE;
void
initialize_data (void)
@@ -657,7 +657,7 @@ command_done (CommandData *cdata)
void
release_data (void)
{
- if (! initialized);
+ if (! initialized)
return;
while (CommandList != NULL) {