]> granicus.if.org Git - yasm/commitdiff
Remove unused variable declaration.
authorPeter Johnson <peter@tortall.net>
Wed, 9 Jan 2002 07:13:42 +0000 (07:13 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 9 Jan 2002 07:13:42 +0000 (07:13 -0000)
svn path=/trunk/yasm/; revision=439

libyasm/linemgr.c
src/globals.c
src/linemgr.c

index 1d77f6b59e2a9f973e0def427e90710040c46e81..00d14ef112d001f6040df30a15a9e02d7c72bd65 100644 (file)
@@ -104,7 +104,6 @@ line_set(const char *filename, unsigned long line, unsigned long line_inc)
     }
     if (line_index_map->size >= line_index_map->allocated) {
        /* allocate another size bins when full for 2x space */
-       struct line_index_mapping_s *realloc_index;
        line_index_map->vector = xrealloc(line_index_map->vector,
                2*line_index_map->allocated*sizeof(line_index_mapping));
        line_index_map->allocated *= 2;
index 1d77f6b59e2a9f973e0def427e90710040c46e81..00d14ef112d001f6040df30a15a9e02d7c72bd65 100644 (file)
@@ -104,7 +104,6 @@ line_set(const char *filename, unsigned long line, unsigned long line_inc)
     }
     if (line_index_map->size >= line_index_map->allocated) {
        /* allocate another size bins when full for 2x space */
-       struct line_index_mapping_s *realloc_index;
        line_index_map->vector = xrealloc(line_index_map->vector,
                2*line_index_map->allocated*sizeof(line_index_mapping));
        line_index_map->allocated *= 2;
index 1d77f6b59e2a9f973e0def427e90710040c46e81..00d14ef112d001f6040df30a15a9e02d7c72bd65 100644 (file)
@@ -104,7 +104,6 @@ line_set(const char *filename, unsigned long line, unsigned long line_inc)
     }
     if (line_index_map->size >= line_index_map->allocated) {
        /* allocate another size bins when full for 2x space */
-       struct line_index_mapping_s *realloc_index;
        line_index_map->vector = xrealloc(line_index_map->vector,
                2*line_index_map->allocated*sizeof(line_index_mapping));
        line_index_map->allocated *= 2;