From ae491d1e2c1c61be8bb341bd024e467e419a464c Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 22 Feb 2007 14:59:16 +1100 Subject: Fix a warning about an uninitialised variable. The case that doesn't initialise it is impossible, so just return with an error.. --- super1.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'super1.c') diff --git a/super1.c b/super1.c index a480f21..42efc75 100644 --- a/super1.c +++ b/super1.c @@ -1203,6 +1203,8 @@ add_internal_bitmap1(struct supertype *st, void *sbv, } } break; + default: + return 0; } if (chunk == UnSet && room > 128*2) -- cgit