]> git.pld-linux.org Git - packages/ascal.git/blame - ascal-gcc.patch
- better optimization and gcc patches
[packages/ascal.git] / ascal-gcc.patch
CommitLineData
92182b40
JB
1--- ascal-0.1.1/src/gui_board.cpp.orig 2006-12-30 00:45:08.000000000 +0100
2+++ ascal-0.1.1/src/gui_board.cpp 2008-01-05 16:46:56.475221055 +0100
3@@ -335,6 +335,7 @@
4 ko.x=4;
5 break;
6 case 2:
7+ default: // stupid gcc, avoid "uninitialized variable" warning
8 if(field<15)
9 ko.x=2;
10 else
11@@ -357,6 +358,7 @@
12 ko.y=5;
13 break;
14 case 3:
15+ default: // stupid gcc, avoid "uninitialized variable" warning
16 if(field<4)
17 ko.y=0;
18 else
This page took 0.059991 seconds and 4 git commands to generate.