[brlcad-commits] CVS: brlcad/src/mged tedit.c,14.25,14.26
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Sean M. <br...@us...> - 2007-10-31 08:39:01
|
Update of /cvsroot/brlcad/brlcad/src/mged In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27834 Modified Files: tedit.c Log Message: quell warnings Index: tedit.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/mged/tedit.c,v retrieving revision 14.25 retrieving revision 14.26 diff -w -u -r14.25 -r14.26 --- tedit.c 29 Oct 2007 05:27:33 -0000 14.25 +++ tedit.c 31 Oct 2007 08:39:03 -0000 14.26 @@ -953,7 +953,6 @@ #endif if (pid == 0) { - register int i; /* Don't call bu_log() here in the child! */ #if defined(SIGINT) && defined(SIGQUIT) @@ -988,7 +987,7 @@ (void)execlp(XTERM_BINARY, XTERM_BINARY, "-e", editor, file, (char *)0); } # endif /* DM_X || DM_OGL */ - (void)execlp(editor, editor, file, 0); + (void)execlp(editor, editor, file, NULL); #endif /* DM_WGL */ /* should not reach */ |