Browse Source

Removed some errant semicolons

Brian Fiete 5 years ago
parent
commit
e6518a3aab

+ 2 - 2
BeefLibs/corlib/src/Globalization/DateTimeFormat.bf

@@ -386,7 +386,7 @@ namespace System {
             //
             
             // Find first "d".
-            for (i = index - 1; i >= 0 && format[i] != patternToMatch; i--) {  /*Do nothing here */ };
+            for (i = index - 1; i >= 0 && format[i] != patternToMatch; i--) {  /*Do nothing here */ }
         
             if (i >= 0) {
                 // Find a "d", so look back to see how many "d" that we can find.
@@ -409,7 +409,7 @@ namespace System {
             //
 
             // Find first "d"
-            for (i = index + tokenLen; i < format.Length && format[i] != patternToMatch; i++) { /* Do nothing here */ };
+            for (i = index + tokenLen; i < format.Length && format[i] != patternToMatch; i++) { /* Do nothing here */ }
 
             if (i < format.Length) {
                 repeatVal = 0;

+ 1 - 1
IDE/src/ui/AutoComplete.bf

@@ -2441,7 +2441,7 @@ namespace IDE.ui
                     sourceEditWidgetContent.PersistentTextPositions.Remove(persistentTextPositon);
 					delete persistentTextPositon;
                 }
-            };                        
+            }
 
             mTargetEditWidget.Content.EnsureCursorVisible();
             if ((insertType != null) && (insertText.Length > 0))

+ 2 - 2
IDE/src/ui/BinaryDataWidget.bf

@@ -1292,7 +1292,7 @@ namespace IDE.ui
                                                         }
 
                                                         return showBorder;
-                                                    };
+                                                    }
 
                                                     bool leftBorder = neighborCoverageFunc(-1);
                                                     bool rightBorder = neighborCoverageFunc(1);
@@ -1344,7 +1344,7 @@ namespace IDE.ui
                                                             showBorder = !neighborEntry.mIsSelected;
                                                         }
                                                         return showBorder;
-                                                    };
+                                                    }
 
                                                     bool leftBorder = neighborCoverageFunc(-1);
                                                     bool rightBorder = neighborCoverageFunc(1);