shithub: rgbds

Download patch

ref: c0be5ddbb28f8e1826b5a9b1d72f1994f348c9d9
parent: 97d431d1f4ad404e282e3781bd195be3f053734d
author: Anthony J. Bentley <[email protected]>
date: Tue Sep 23 21:19:05 EDT 2014

Remove dead stores.

--- a/src/fix/main.c
+++ b/src/fix/main.c
@@ -221,8 +221,6 @@
 			/* NOTREACHED */
 		}
 	}
-	argc -= optind;
-	argv += optind;
 
 	/*
 	 * Write changes to ROM
--- a/src/lib/main.c
+++ b/src/lib/main.c
@@ -98,9 +98,6 @@
 			}
 			lib_Free(lib);
 		} else if (strcmp(argv[argn], "list") == 0) {
-			argn += 1;
-			argc -= 1;
-
 			sLibrary *l;
 
 			l = lib;