global-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Global-commit] global/gtags-cscope gtags-cscope.c


From: Hideki IWAMOTO
Subject: [Global-commit] global/gtags-cscope gtags-cscope.c
Date: Fri, 09 Jun 2006 13:47:32 +0000

CVSROOT:        /sources/global
Module name:    global
Changes by:     Hideki IWAMOTO <h-iwamoto>      06/06/09 13:47:32

Modified files:
        gtags-cscope   : gtags-cscope.c 

Log message:
        Fixed -Wall warning.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/global/gtags-cscope/gtags-cscope.c?cvsroot=global&r1=1.2&r2=1.3

Patches:
Index: gtags-cscope.c
===================================================================
RCS file: /sources/global/global/gtags-cscope/gtags-cscope.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- gtags-cscope.c      8 Jun 2006 16:13:20 -0000       1.2
+++ gtags-cscope.c      9 Jun 2006 13:47:32 -0000       1.3
@@ -103,7 +103,6 @@
 void
 get_global_path()
 {
-       char command[MAXFILLEN];
        const char *p;
 
        if (!(p = usable("global")))
@@ -164,7 +163,6 @@
 get_line()
 {
        STATIC_STRBUF(sb);
-       char *p;
 
        /* Prompt */
        fputs(">> ", stdout);
@@ -213,12 +211,11 @@
        fprintf(stdout, "q: Quit the session\n");
        fprintf(stdout, "h: Show help\n");
 }
-FILE *log;
 void
 command_loop()
 {
        int com = 0;
-       char *line, *opt = "";
+       char *line;
 
        print_case_distinction();
        while ((line = get_line()) != NULL) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]