This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Remove extraneous semicolons in remote-utils.c
- From: Fred Fish <fnf at public dot ninemoons dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: fnf at intrinsity dot com
- Date: Tue, 4 Feb 2003 22:48:32 -0700 (MST)
- Subject: [PATCH] Remove extraneous semicolons in remote-utils.c
- Reply-to: fnf at intrinsity dot com
2003-02-04 Fred Fish <fnf@intrinsity.com>
* remote-utils.c (sr_scan_args): Remove extraneous semicolons.
Index: remote-utils.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-utils.c,v
retrieving revision 1.13
diff -c -p -r1.13 remote-utils.c
*** remote-utils.c 23 Mar 2002 17:38:12 -0000 1.13
--- remote-utils.c 5 Feb 2003 05:43:37 -0000
*************** sr_scan_args (char *proto, char *args)
*** 113,122 ****
return;
/* scan off white space. */
! for (p = args; isspace (*p); ++p);;
/* find end of device name. */
! for (q = p; *q != '\0' && !isspace (*q); ++q);;
/* check for missing or empty device name. */
CHECKDONE (p, q);
--- 113,122 ----
return;
/* scan off white space. */
! for (p = args; isspace (*p); ++p);
/* find end of device name. */
! for (q = p; *q != '\0' && !isspace (*q); ++q);
/* check for missing or empty device name. */
CHECKDONE (p, q);
*************** sr_scan_args (char *proto, char *args)
*** 137,143 ****
sr_set_debug (n);
/* scan off remaining white space. */
! for (p = q; isspace (*p); ++p);;
/* if not end of string, then there's unrecognized junk. */
if (*p != '\0')
--- 137,143 ----
sr_set_debug (n);
/* scan off remaining white space. */
! for (p = q; isspace (*p); ++p);
/* if not end of string, then there's unrecognized junk. */
if (*p != '\0')