Remove unused variable as part of -Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
#include <disk/errno_disk.h>
#include <disk/error.h>
-int main(int argc __attribute__ (( unused )),
- char *argv[] __attribute__ (( unused )))
+int main(int argc, char *argv[])
{
- int err;
struct driveinfo drive;
struct driveinfo *d = &drive;
+ (void)argc;
+ (void)argv;
+
openconsole(&dev_null_r, &dev_stdcon_w);
for (int disk = 0x80; disk < 0xff; disk++) {