shithub: riscv

Download patch

ref: 3889ada9598854a3edd09007bd8a5f9a230c5bdf
parent: aac6784fce5f1814150ea501c24f1fefce1fce12
author: cinap_lenrek <[email protected]>
date: Wed Mar 18 15:30:12 EDT 2015

ape: silence compiler "no return at end of function" for mips lock.c

--- a/sys/src/ape/lib/ap/mips/lock.c
+++ b/sys/src/ape/lib/ap/mips/lock.c
@@ -127,7 +127,8 @@
 			}
 		}
 		return 0;
-	}	
+	}
+	return -1;	/* not reached */
 }
 
 void
@@ -167,5 +168,6 @@
 			}
 		}
 		return 1;
-	}	
+	}
+	return -1;	/* not reached */
 }