pkgsrc/graphics/giram/patches/patch-af
2006-05-28 15:52:37 +00:00

44 lines
1.1 KiB
Text

$NetBSD: patch-af,v 1.3 2006/05/28 15:52:37 joerg Exp $
--- src/filetypes/povray/LoadPov.c.orig 2006-05-28 15:23:05.000000000 +0000
+++ src/filetypes/povray/LoadPov.c
@@ -1152,6 +1152,7 @@ static int parse_rel_term(ParsedVector *
break;
default:
/* panic!!! */
+ break;
}
get_token();
}
@@ -3238,6 +3239,7 @@ static void parse_directive(gboolean aft
default:
/*Error("Mis-matched '#case' or '#range'.");*/
+ break;
}
done = TRUE;
break;
@@ -3303,6 +3305,7 @@ static void parse_directive(gboolean aft
default:
/* Error("Mis-matched '#end'.");*/
+ break;
}
done = TRUE;
break;
@@ -4965,6 +4968,7 @@ static int parse_bicubic_patch(ObjectStr
break;
default:
/* panic!!! */
+ break;
}
get_token();
}
@@ -5111,6 +5115,7 @@ static int parse_disc(ObjectStruct **pDi
PARSE_FLOAT(HoleRadius)
break;
default: /* nothing */
+ break;
}
*pDisc = giram_disc_new(Center, Normal, Radius, HoleRadius);