[hackers] [sandy] Remove 2 unneded gotos || Rafael Garcia

From: <hg_AT_suckless.org>
Date: Thu, 6 Oct 2011 13:37:49 +0200 (CEST)

changeset: 103:3c5010c555e1
tag: tip
user: Rafael Garcia <rafael.garcia.gallego_AT_gmail.com>
date: Thu Oct 06 12:55:35 2011 +0200
files: sandy.c
description:
Remove 2 unneded gotos


diff -r 39804b2aca85 -r 3c5010c555e1 sandy.c
--- a/sandy.c Tue Sep 27 21:43:11 2011 +0200
+++ b/sandy.c Thu Oct 06 12:55:35 2011 +0200
_AT_@ -747,7 +747,6 @@
         oldsel.l=oldcur.l=fstline;
         oldsel.o=oldcur.o=0;
 
- edit_top:
         while(statusflags & S_Running) {
                 if(fsel.l != oldsel.l) i_dirtyrange(oldsel.l, fsel.l);
                 else if(fsel.o != oldsel.o) fsel.l->dirty=TRUE;
_AT_@ -791,7 +790,7 @@
                                         break;
                                 }
                         }
- goto edit_top;
+ continue;
                 }
 
                 /* Mundane characters are processed later */
_AT_@ -814,7 +813,7 @@
                                         break;
                                 }
                         }
- goto edit_top;
+ continue;
                 }
                 statusflags&=~(S_InsEsc);
                 if(t_rw()) f_insert(&(const Arg){ .v = c });
Received on Thu Oct 06 2011 - 13:37:49 CEST

This archive was generated by hypermail 2.3.0 : Thu Oct 06 2011 - 13:48:04 CEST