]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Comment out unused functions to avoid clang warnings.
authorFlorian Krohm <florian@eich-krohm.de>
Mon, 31 Aug 2015 20:33:36 +0000 (20:33 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Mon, 31 Aug 2015 20:33:36 +0000 (20:33 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15605

none/tests/x86-linux/seg_override.c

index 0f8cb2d8cfde935ed61ff51523023edd0735a08c..b7619c9a802972438c8389b2b52ce41604df2c74 100644 (file)
@@ -34,6 +34,7 @@ typedef struct _LDT_ENTRY {
     } HighWord;
 } LDT_ENTRY;
 
+#if 0
 inline static void *wine_ldt_get_base( const LDT_ENTRY *ent )
 {
     return (void *)(ent->BaseLow |
@@ -46,7 +47,7 @@ inline static unsigned int wine_ldt_get_limit( const LDT_ENTRY *ent )
     if (ent->HighWord.Bits.Granularity) limit = (limit << 12) | 0xfff;
     return limit;
 }
-
+#endif
 
 /* our copy of the ldt */
 LDT_ENTRY ldt_copy[8192];