[warning-fix][control-reaches-end-of-non-void-function]
This commit is contained in:
+3
-3
@@ -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" );
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ Now you can say things like:
|
||||
#define ALLOC
|
||||
#endif /*ALLOC*/
|
||||
|
||||
void
|
||||
print_freelist( flh )
|
||||
struct freelist_head * flh;
|
||||
{
|
||||
|
||||
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user