[gimp] Removed redundant 'break; ' statement. Based on SVN version 105 of offical version of TinyScheme.



commit 4b55c551f3f9b22bc09efdc54bf7feb0b1af5e8c
Author: Kevin Cozens <kevin ve3syb ca>
Date:   Tue Jul 14 17:15:30 2015 -0400

    Removed redundant 'break;' statement. Based on SVN version 105 of offical version of TinyScheme.

 plug-ins/script-fu/tinyscheme/scheme.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/script-fu/tinyscheme/scheme.c b/plug-ins/script-fu/tinyscheme/scheme.c
index 86b02fe..0efc19b 100644
--- a/plug-ins/script-fu/tinyscheme/scheme.c
+++ b/plug-ins/script-fu/tinyscheme/scheme.c
@@ -2197,13 +2197,14 @@ static void atom2str(scheme *sc, pointer l, int f, char **pp, int *plen) {
                     } else if(c<32) {
                          snprintf(p,STRBUFFSIZE, "#\\%s", charnames[c]);
                          break;
-                     }
+                    }
 #else
                     if(c<32) {
-                      snprintf(p,STRBUFFSIZE,"#\\x%x",c); break;
+                      snprintf(p,STRBUFFSIZE,"#\\x%x",c);
+                      break;
                     }
 #endif
-                    snprintf(p,STRBUFFSIZE,"#\\%c",c); break;
+                    snprintf(p,STRBUFFSIZE,"#\\%c",c);
                     break;
                }
           }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]