[warning-fix][control-reaches-end-of-non-void-function]

This commit is contained in:
tpaviot
2011-08-13 14:09:37 +02:00
parent 425a9c3086
commit 19e501abf6
3 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -583,7 +583,7 @@ min( int a, int b, int c ) {
}
}
static
static void
copy_file_chunk( char * filename, int start, int end, int level ) {
FILE * infile;
char buff[256];
@@ -849,7 +849,7 @@ SCOPElocals_out( Scope s, int level ) {
raw( "%*sEND_LOCAL;\n", level, "" );
}
LOOPout( struct Loop_ *loop, int level ) {
void LOOPout( struct Loop_ *loop, int level ) {
Variable v;
raw( "%*sREPEAT", level, "" );
@@ -1384,7 +1384,7 @@ TYPE_head_out( Type t, int level ) {
}
}
TYPEunique_or_optional_out( TypeBody tb ) {
void TYPEunique_or_optional_out( TypeBody tb ) {
if( tb->flags.unique ) {
wrap( " UNIQUE" );
}
+1
View File
@@ -44,6 +44,7 @@ Now you can say things like:
#define ALLOC
#endif /*ALLOC*/
void
print_freelist( flh )
struct freelist_head * flh;
{
+1 -1
View File
@@ -4126,7 +4126,7 @@ TypeDescription( const Type t ) {
return buf + 1;
}
strcat_expr( Expression e, char * buf ) {
void strcat_expr( Expression e, char * buf ) {
if( e == LITERAL_INFINITY ) {
strcat( buf, "?" );
} else if( e == LITERAL_PI ) {