Author: petdance
Date: Fri Jun  1 17:55:20 2007
New Revision: 18742

Modified:
   trunk/src/packfile.c

Log:
Removed unused static PackFile_check_segment_size

Modified: trunk/src/packfile.c
==============================================================================
--- trunk/src/packfile.c        (original)
+++ trunk/src/packfile.c        Fri Jun  1 17:55:20 2007
@@ -112,34 +112,6 @@
     return;
 }
 
-/*
-
-=item C<static INTVAL
-PackFile_check_segment_size(opcode_t segment_size, const char *debug)>
-
-Internal function to check C<segment_size % sizeof (opcode_t)>.
-
-=cut
-
-*/
-
-static INTVAL
-PackFile_check_segment_size(opcode_t segment_size, const char *debug)
-{
-#if TRACE_PACKFILE
-    PIO_eprintf(NULL,"PackFile_unpack(): Unpacking %ld bytes for %s 
table...\n",
-           (long)segment_size, debug);
-#endif
-
-    if (segment_size % sizeof (opcode_t)) {
-        PIO_eprintf(NULL,
-                    "PackFile_unpack: Illegal %s table segment size "
-                    "%ld (must be multiple of %ld)!\n",
-                    debug, (long)segment_size, (long)sizeof (opcode_t));
-        return 0;
-    }
-    return 1;
-}
 
 /*
 

Reply via email to