commit | 6f6a74d526226a74aaf274234ac0b73a6a86875b | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Mon Nov 09 19:15:50 2009 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Mon Nov 09 19:15:50 2009 -0500 |
tree | 56a4b73eb72c79d97d32a8ff5ae176fb52e6ddfe | |
parent | 9dbc2ad0b82c8a9fd5f68cc1b5b880bf9a0ddaa4 [diff] |
Fix compiler warning in setup_translation(). Assign 'desc' just to silence compiler warning.
diff --git a/src/block.c b/src/block.c index 0a65ae6..d36ad36 100644 --- a/src/block.c +++ b/src/block.c
@@ -86,7 +86,7 @@ u16 cylinders = GET_GLOBAL(drive_g->pchs.cylinders); u16 spt = GET_GLOBAL(drive_g->pchs.spt); u64 sectors = GET_GLOBAL(drive_g->sectors); - const char *desc; + const char *desc = NULL; switch (translation) { default: