From: <enl...@li...> - 2000-10-27 20:06:59
|
Enlightenment CVS committal Author : gilbertt Project : misc Module : scrot Modified Files: Makefile.am main.c options.c Log Message: warning fix =================================================================== RCS file: /cvsroot/enlightenment/misc/scrot/src/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- Makefile.am 2000/10/27 20:02:53 1.2 +++ Makefile.am 2000/10/27 20:06:46 1.3 @@ -2,7 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in LDFLAGS = -L/usr/X11R6/lib -INCLUDES = -I/usr/X11R6/include \ +INCLUDES = -g -O3 -Wall -I/usr/X11R6/include \ $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. \ -DPREFIX=\""$(prefix)"\" @IMLIB_CFLAGS@ LIBOBJS = @LIBOBJS@ =================================================================== RCS file: /cvsroot/enlightenment/misc/scrot/src/main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- main.c 2000/10/27 20:02:53 1.4 +++ main.c 2000/10/27 20:06:46 1.5 @@ -117,11 +117,9 @@ scrot_sel_and_grab_image(void) { Imlib_Image im = NULL; - int x = 0, y = 0, w = 0, h = 0; static int xfd = 0; static int fdsize = 0; XEvent ev; - struct timeval tval; fd_set fdset; int count = 0, done = 0; int rx = 0, ry = 0, rw = 0, rh = 0, btn_pressed = 0; @@ -129,7 +127,7 @@ int dont_care; Window not_interested; Cursor cursor; - Window target; + Window target = None; GC gc; XGCValues gcval; @@ -205,7 +203,6 @@ } break; case ButtonPress: - D(2, ("button press event, window %d\n", ev.xbutton.window)); btn_pressed = 1; rx = ev.xbutton.x; ry = ev.xbutton.y; =================================================================== RCS file: /cvsroot/enlightenment/misc/scrot/src/options.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- options.c 2000/10/27 20:02:53 1.4 +++ options.c 2000/10/27 20:06:46 1.5 @@ -26,7 +26,6 @@ #include "scrot.h" #include "options.h" -static void check_options(void); static void feh_parse_option_array(int argc, char **argv); scrotoptions opt; |