From 5eeec1363ec4bc86f4d9c989124c1659cb8d3417 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 24 Mar 2015 09:48:40 +0200 Subject: loplugin:constantfunction: rsc Change-Id: I574bac6b25c9f36ff3d545420ea49d99a9c79b05 --- rsc/source/rscpp/cpp.h | 3 --- rsc/source/rscpp/cpp1.c | 3 --- rsc/source/rscpp/cpp2.c | 5 ----- rsc/source/rscpp/cpp3.c | 5 ----- rsc/source/rscpp/cpp5.c | 6 ------ 5 files changed, 22 deletions(-) (limited to 'rsc') diff --git a/rsc/source/rscpp/cpp.h b/rsc/source/rscpp/cpp.h index c9421412e57a..1f88f7bff819 100644 --- a/rsc/source/rscpp/cpp.h +++ b/rsc/source/rscpp/cpp.h @@ -256,10 +256,7 @@ int rscpp_main( int argc, char **argv ); void InitCpp1( void ); -void InitCpp2( void ); -void InitCpp3( void ); void InitCpp4( void ); -void InitCpp5( void ); void InitCpp6( void ); #define HELLO() fprintf( stderr, "[Hello at %s, %d] ", __FILE__, __LINE__ ) diff --git a/rsc/source/rscpp/cpp1.c b/rsc/source/rscpp/cpp1.c index 795bbab1e152..d8e20f46d96a 100644 --- a/rsc/source/rscpp/cpp1.c +++ b/rsc/source/rscpp/cpp1.c @@ -244,10 +244,7 @@ int MAIN(int argc, char** argv) nRunde++; InitCpp1(); - InitCpp2(); - InitCpp3(); InitCpp4(); - InitCpp5(); InitCpp6(); initdefines(); /* O.S. specific def's */ diff --git a/rsc/source/rscpp/cpp2.c b/rsc/source/rscpp/cpp2.c index e38914a75b45..45dd492ff30a 100644 --- a/rsc/source/rscpp/cpp2.c +++ b/rsc/source/rscpp/cpp2.c @@ -48,11 +48,6 @@ #endif -void InitCpp2() -{ - -} - /* * Process #control lines. Simple commands are processed inline, * while complex commands have their own subroutines. diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c index 9c4ae2993075..60762d8a188d 100644 --- a/rsc/source/rscpp/cpp3.c +++ b/rsc/source/rscpp/cpp3.c @@ -32,11 +32,6 @@ #include #endif -void InitCpp3() -{ -} - - /* * Open a file, add it to the linked list of open files. * This is called only from openfile() above. diff --git a/rsc/source/rscpp/cpp5.c b/rsc/source/rscpp/cpp5.c index 765f7300ae5a..499219ba6e7f 100644 --- a/rsc/source/rscpp/cpp5.c +++ b/rsc/source/rscpp/cpp5.c @@ -180,12 +180,6 @@ SIZES size_table[] = { { 0, 0, 0 }, /* End of table */ }; -void InitCpp5() -{ - -} - - /* * Evaluate an expression. Straight-forward operator precedence. * This is called from control() on encountering an #if statement. -- cgit