Skip to content
This repository
Browse code

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

  • Loading branch information...
commit b4f9941304c95aeeb503661e705c9c5246e1c3da 1 parent ac08926
Duke Leto authored September 17, 2010

Showing 1 changed file with 7 additions and 2 deletions. Show diff stats Hide diff stats

  1. 9  plparrot.c
9  plparrot.c
@@ -580,9 +580,14 @@ plparrot_make_sausage(Parrot_Interp interp, Parrot_PMC pmc, FunctionCallInfo fci
580 580
         return (Datum) 0;
581 581
     } else if (PMC_ISA(pmc,"Parcel")) {
582 582
         elog(ERROR, "CANNOT MAKE Parcel INTO SAUSAGE");
583  
-    } else {
584  
-        elog(ERROR,"CANNOT MAKE SAUSAGE");
585 583
     }
  584
+
  585
+    elog(ERROR,"CANNOT MAKE SAUSAGE");
  586
+    /*
  587
+       Squash warnings about control reaching the end of a non-void function. 
  588
+       Not actually reachable.
  589
+    */
  590
+    return (Datum) 0;
586 591
 }
587 592
 
588 593
 void debug(char *msg) {

0 notes on commit b4f9941

Please sign in to comment.
Something went wrong with that request. Please try again.