Created
April 16, 2011 12:15
-
-
Save dnaeon/923075 to your computer and use it in GitHub Desktop.
initialize conf to NULL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git diff upgrade.c | |
diff --git a/pkg/upgrade.c b/pkg/upgrade.c | |
index 664db04..3968ffb 100644 | |
--- a/pkg/upgrade.c | |
+++ b/pkg/upgrade.c | |
@@ -33,7 +33,7 @@ exec_upgrade(int argc, char **argv) | |
int64_t oldsize = 0, newsize = 0; | |
int64_t dlsize = 0; | |
char size[7]; | |
- properties conf; | |
+ properties conf = NULL; | |
(void) argv; | |
if (argc != 1) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment