commit b7f72c680820633d3936e0649d32fa615b5b4cf9
parent 775fe09b2c870bc7ac4d72082fd7d2483afaff1a
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Sun, 26 Jul 2015 17:46:57 +0200
Initializing all parameters to NULL
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -116,12 +116,12 @@ int main(int argc, char *argv[])
}
int getoptFlag;
- char *bits;
- char *columns;
- char *font;
- char *icecolors = NULL; // TODO : Re-enable icecolors
+ char *bits = NULL;
+ char *columns = NULL;
+ char *font = NULL;
+ char *icecolors = NULL;
- char *input, *output = NULL;
+ char *input = NULL, *output = NULL;
char *retinaout = NULL;
while ((getoptFlag = getopt(argc, argv, "b:c:ef:hi:o:rsv")) != -1) {