r300: Corrected a couple of "control reaches end of non-void function" warnings.
This commit is contained in:
@@ -174,6 +174,7 @@ static unsigned long t_dst_class(enum register_file file)
|
||||
default:
|
||||
fprintf(stderr, "problem in %s", __FUNCTION__);
|
||||
_mesa_exit(-1);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -208,6 +209,7 @@ static unsigned long t_src_class(enum register_file file)
|
||||
default:
|
||||
fprintf(stderr, "problem in %s", __FUNCTION__);
|
||||
_mesa_exit(-1);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user