diff baum.c @ 38:ff01f0f076e4

option_verbose is now global; stuff about warning when (expected) nodes are not there
author meillo@marmaro.de
date Sat, 01 Mar 2008 20:04:08 +0100
parents 29172b6e802a
children 5c13e29bc6fd
line wrap: on
line diff
--- a/baum.c	Sat Mar 01 17:55:42 2008 +0100
+++ b/baum.c	Sat Mar 01 20:04:08 2008 +0100
@@ -17,8 +17,6 @@
 #define VERSION "0.3"
 
 
-int option_verbose = 0;
-
 struct Node* root = 0;
 struct Stackitem* stack = NULL;
 
@@ -224,6 +222,8 @@
 /* main */
 int main(int argc, char* argv[]) {
 	unsigned char shell_return = 0;
+
+	option_verbose = 0;
 	
 	while (--argc > 0 && (*++argv)[0] == '-') {
 		if (strcmp(argv[0], "--version") == 0) {