From 6a208294bef44f588e067383aa2e35af1aa23a16 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 6 Dec 2009 12:57:45 +0100 Subject: Several code modifications to avoid compiler warnings --- libsi/si.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libsi/si.h') diff --git a/libsi/si.h b/libsi/si.h index 9d47d306..b28b14ab 100644 --- a/libsi/si.h +++ b/libsi/si.h @@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: si.h 2.1 2008/09/06 12:44:06 kls Exp $ + * $Id: si.h 2.2 2009/12/06 11:37:35 kls Exp $ * * ***************************************************************************/ @@ -411,6 +411,8 @@ public: return data.FourBytes(index); case 8: return (SixtyFourBit(data.FourBytes(index)) << 32) | data.FourBytes(index+4); + default: + return 0; // just to avoid a compiler warning } return 0; // just to avoid a compiler warning } -- cgit v1.2.3