View | Details | Raw Unified | Return to bug 69982
Collapse All | Expand All

(-)motor/files/patch-parser::src::parser.c (+18 lines)
Line 0 Link Here
1
--- parser/src/parser.c.orig	Wed Aug 22 09:52:39 2001
2
+++ parser/src/parser.c	Sat Jul 31 20:11:06 2004
3
@@ -314,6 +314,7 @@
4
 		if (buf == MAP_FAILED) buf = NULL;
5
 		break;
6
 	    default:
7
+		break;
8
 	}
9
     }
10
     close(f);
11
@@ -334,6 +335,7 @@
12
 	    munmap(text, size);
13
 	    break;
14
 	default:
15
+	    break;
16
     }
17
 }
18
 
(-)motor/files/patch-src::ui::ncurses::uitagbrowser.cc (+11 lines)
Line 0 Link Here
1
--- src/ui/ncurses/uitagbrowser.cc.old	Wed Aug  4 08:22:13 2004
2
+++ src/ui/ncurses/uitagbrowser.cc	Wed Aug  4 08:22:30 2004
3
@@ -83,7 +83,7 @@
4
     cm.setwindow(textwindow(w.x1, w.y1, w.x1+20, 0, uiconf.getcolor(cp_menufr)));
5
 
6
     for(motortagbrowser::viewscope scope = motortagbrowser::File;
7
-    scope != motortagbrowser::viewscope_size; (int) scope += 1) {
8
+    scope != motortagbrowser::viewscope_size; (int&) scope += 1) {
9
 	cm.additem(0, scope, (string) " " + getscopename(scope));
10
 	if(scope == tagbrowser.getscope())
11
 	    cm.setpos(cm.getcount()-1);

Return to bug 69982