From 71fa444424be52b9b2c3fd508ad663923d28a62c Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sat, 28 Jul 2001 23:13:49 +0000 Subject: Removed headers that were accidently checked in. Lots of compiling. --- src/win95/shpchunk.cpp | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'src/win95/shpchunk.cpp') diff --git a/src/win95/shpchunk.cpp b/src/win95/shpchunk.cpp index a494767..0514de0 100644 --- a/src/win95/shpchunk.cpp +++ b/src/win95/shpchunk.cpp @@ -423,7 +423,9 @@ BOOL Shape_Chunk::assoc_with_object_list(File_Chunk *fc) for (LIF n(&(hdptr->object_names_store)); !n.done(); n.next()) { - for (LIF l(&chlst); !l.done(); l.next()) + LIF l(&chlst); + + for (; !l.done(); l.next()) { ob = (Object_Chunk *)l(); if ( !strcmp(ob->object_data.o_name, n()) ) @@ -955,6 +957,8 @@ BOOL Shape_Polygon_Chunk::output_chunk (HANDLE &hand) void Shape_Polygon_Chunk::fill_data_block(char * data_start) { + int i, j; + strncpy (data_start, identifier, 8); data_start += 8; @@ -963,12 +967,12 @@ void Shape_Polygon_Chunk::fill_data_block(char * data_start) data_start += 4; - for (int i=0;i cl; lookup_child("SUBSHAPE",cl); - for (LIF cli(&cl); !cli.done(); cli.next()) + LIF cli(&cl); + + for (; !cli.done(); cli.next()) { max_id = max (max_id, ((Shape_Sub_Shape_Chunk *)cli())->get_header()->file_id_num); } -- cgit v1.3