[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Antiright-devel] antiright/gtkshell add_options.c dialog_options...
From: |
Jeffrey Bedard |
Subject: |
[Antiright-devel] antiright/gtkshell add_options.c dialog_options... |
Date: |
Mon, 10 Dec 2007 15:14:32 +0000 |
CVSROOT: /sources/antiright
Module name: antiright
Changes by: Jeffrey Bedard <jefbed> 07/12/10 15:14:32
Modified files:
gtkshell : add_options.c dialog_options.c gtkshell.h
Log message:
Removed duplicate and harmful code.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/antiright/gtkshell/add_options.c?cvsroot=antiright&r1=1.53&r2=1.54
http://cvs.savannah.gnu.org/viewcvs/antiright/gtkshell/dialog_options.c?cvsroot=antiright&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/antiright/gtkshell/gtkshell.h?cvsroot=antiright&r1=1.58&r2=1.59
Patches:
Index: add_options.c
===================================================================
RCS file: /sources/antiright/antiright/gtkshell/add_options.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- add_options.c 10 Dec 2007 15:13:24 -0000 1.53
+++ add_options.c 10 Dec 2007 15:14:31 -0000 1.54
@@ -79,9 +79,6 @@
handle_commanded_add_arguments(GSH * gsh, const gint argc, const gchar **argv,
gint *counter)
{
-#ifndef DEBUG
- UNUSED(argc);
-#endif /* DEBUG */
if(!argv[*counter] || !argv[(*counter)+1])
return;
GSH_COUNT(argc, counter);
Index: dialog_options.c
===================================================================
RCS file: /sources/antiright/antiright/gtkshell/dialog_options.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- dialog_options.c 13 Aug 2007 07:12:31 -0000 1.23
+++ dialog_options.c 10 Dec 2007 15:14:32 -0000 1.24
@@ -26,9 +26,6 @@
gsh_handle_dialog_arguments(GSH * gsh, const gint argc, const gchar **argv,
gint *counter)
{
-#ifndef DEBUG
- UNUSED(argc);
-#endif /* DEBUG */
g_assert(strlen(argv[(*counter)]) > 2);
#ifdef DEBUG
ARPASSERT(gsh);
Index: gtkshell.h
===================================================================
RCS file: /sources/antiright/antiright/gtkshell/gtkshell.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Antiright-devel] antiright/gtkshell add_options.c dialog_options...,
Jeffrey Bedard <=