Fix build with gcc-3.4

This commit is contained in:
Kirill Ponomarev 2004-08-22 16:01:52 +00:00
parent 34a73778a1
commit 3059ad39db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117038
8 changed files with 126 additions and 0 deletions

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- html/frame_add.c.orig Sun Aug 22 18:00:16 2004
+++ html/frame_add.c Sun Aug 22 18:00:27 2004
@@ -215,7 +215,7 @@
case SSTERM_LENGTH_PX:
bfi->next_linesep = bsi->line_height.num - linesep;
break;
- default:
+ default: break;
}
bfi->cur_x = 0;

View File

@ -0,0 +1,13 @@
$FreeBSD$
--- html/style_term.c.orig Sun Aug 22 17:59:45 2004
+++ html/style_term.c Sun Aug 22 17:59:56 2004
@@ -102,6 +102,7 @@
case SSTERM_HEXCOLOR:
case SSTERM_URL:
case SSTERM_RGB:
+ break;
}
return 0;
}

View File

@ -0,0 +1,15 @@
$FreeBSD$
--- html/style_y.y.orig Sun Aug 22 17:59:06 2004
+++ html/style_y.y Sun Aug 22 17:59:22 2004
@@ -255,7 +255,8 @@
case SSTERM_HEXCOLOR:
case SSTERM_URL:
case SSTERM_RGB:
- }
+ break;
+ }
$$ = $2;
}
| '+' term_base { $$ = $2; }

View File

@ -0,0 +1,23 @@
$FreeBSD$
--- draw.c.orig Sun Aug 22 17:51:02 2004
+++ draw.c Sun Aug 22 17:51:23 2004
@@ -510,7 +510,7 @@
}
}
break;
- default:
+ default: break;
}
/* printf(" Appel rotation_3d\n");
printf(" Appel perspective\n");
@@ -623,7 +623,7 @@
}
break;
- default:
+ default: break;
}
}

View File

@ -0,0 +1,18 @@
$FreeBSD$
--- misc.c.orig Sun Aug 22 17:51:48 2004
+++ misc.c Sun Aug 22 17:52:27 2004
@@ -195,10 +195,10 @@
printf("Color mode : %i\n",conteur.triplet);
break;
- default:
+ default: break;
}
break;
- default:
+ default: break;
}
}

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- renderer.c.orig Sun Aug 22 17:52:50 2004
+++ renderer.c Sun Aug 22 17:52:59 2004
@@ -93,7 +93,7 @@
conteur.angle2 / 60, 200, 130);
break;
- default:
+ default: break;
}
conteur.k3 += 10;

View File

@ -0,0 +1,15 @@
$FreeBSD$
--- actuators.c.orig Sun Aug 22 17:55:01 2004
+++ actuators.c Sun Aug 22 17:56:02 2004
@@ -45,7 +45,8 @@
sizeof (union actuator_option_val));
break;
case OPT_TYPE_STRING:
- }
+ break;
+ }
}
/* the NULL option */

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- paranormal.c.orig Sun Aug 22 17:56:22 2004
+++ paranormal.c Sun Aug 22 17:56:36 2004
@@ -167,7 +167,7 @@
case SDLK_BACKQUOTE:
take_screenshot ();
break;
- default:
+ default: break;
}
break;
case SDL_VIDEORESIZE: