--- parser3/src/classes/op.C 2003/11/19 11:00:32 1.136 +++ parser3/src/classes/op.C 2003/11/20 15:35:29 1.138 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_OP_C="$Date: 2003/11/19 11:00:32 $"; +static const char* IDENT_OP_C="$Date: 2003/11/20 15:35:29 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -193,7 +193,7 @@ static void _process(Request& r, MethodP } } -static void _rem(Request& r, MethodParams& params) { +static void _rem(Request&, MethodParams& params) { params.as_junction(0, "body must be code"); } @@ -540,10 +540,13 @@ const String* locked_process_and_cache_p cache_delete(file_spec); return result; } +#ifndef DOXYGEN struct Cache_get_result { const String* body; bool expired; -} cache_get(Request_charsets& charsets, const String& file_spec, time_t now) { +}; +#endif +static Cache_get_result cache_get(Request_charsets& charsets, const String& file_spec, time_t now) { Cache_get_result result={0}; File_read_result file=file_read(charsets, file_spec, @@ -697,7 +700,7 @@ static void _try_operator(Request& r, Me r.write_pass_lang(result.processed_code); } -static void _throw_operator(Request& r, MethodParams& params) { +static void _throw_operator(Request&, MethodParams& params) { if(params.count()==1) { if(HashStringValue *hash=params[0].get_hash()) { const char* type=0; @@ -706,7 +709,7 @@ static void _throw_operator(Request& r, const String* source=0; if(Value* value=hash->get(exception_source_part_name)) source=&value->as_string(); - const char* comment; + const char* comment=0; if(Value* value=hash->get(exception_comment_part_name)) comment=value->as_string().cstr(); @@ -728,7 +731,7 @@ static void _throw_operator(Request& r, #if defined(WIN32) && defined(_DEBUG) # define PA_BPT -static void _bpt(Request& r, MethodParams& params) { +static void _bpt(Request&, MethodParams&) { _asm int 3; } #endif