Browse Source

Remove debug printf()

git-svn-id: https://klish.googlecode.com/svn/trunk@467 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev 13 years ago
parent
commit
e0a341559d
2 changed files with 1 additions and 2 deletions
  1. 1 1
      clish/shell/shell_execute.c
  2. 0 1
      clish/shell/shell_var.c

+ 1 - 1
clish/shell/shell_execute.c

@@ -193,7 +193,7 @@ bool_t clish_shell_execute(clish_context_t *context, char **out)
 	action = clish_command__get_action(cmd);
 
 	/* Pre-change view if the command is from another depth/view */
-        {
+	{
 		clish_view_restore_t restore = clish_command__get_restore(cmd);
 		if ((CLISH_RESTORE_VIEW == restore) &&
 			(clish_command__get_pview(cmd) != cur_view)) {

+ 0 - 1
clish/shell/shell_var.c

@@ -38,7 +38,6 @@ void clish_shell__expand_viewid(const char *viewid, lub_bintree_t *tree,
 		var = clish_var_new(q);
 		lub_bintree_insert(tree, var);
 		clish_var__set_value(var, value);
-printf("%s=%s\n", q, value);
 	}
 	lub_string_free(expanded);
 }