Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Squash warning about control reaching the end of a non-void function

  • Loading branch information...
commit b4f9941304c95aeeb503661e705c9c5246e1c3da 1 parent ac08926
@leto authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 plparrot.c
View
9 plparrot.c
@@ -580,9 +580,14 @@ plparrot_make_sausage(Parrot_Interp interp, Parrot_PMC pmc, FunctionCallInfo fci
return (Datum) 0;
} else if (PMC_ISA(pmc,"Parcel")) {
elog(ERROR, "CANNOT MAKE Parcel INTO SAUSAGE");
- } else {
- elog(ERROR,"CANNOT MAKE SAUSAGE");
}
+
+ elog(ERROR,"CANNOT MAKE SAUSAGE");
+ /*
+ Squash warnings about control reaching the end of a non-void function.
+ Not actually reachable.
+ */
+ return (Datum) 0;
}
void debug(char *msg) {
Please sign in to comment.
Something went wrong with that request. Please try again.