aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-12-12 07:48:31 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-12-12 07:48:31 +0000
commit8c10380c7686264fe5780a4e4ddcb76f585dde28 (patch)
tree98b1698b79a9c053ef13a443c12c4d70f822a0ac
parent2bee1dec3f05ba8f4dd44bc4901774f9e99d96ef (diff)
parenta2fff667e7d2b1e2411a15bd8f042ab65001c832 (diff)
downloadsdk-8c10380c7686264fe5780a4e4ddcb76f585dde28.tar.gz
Merge "Remove unused local variable." am: 613a112d8e am: 99fdd0ccd6
am: a2fff667e7 Change-Id: Ic107c235498d466e2ea2d649149bb01e8343b6c4
-rw-r--r--emulator/mksdcard/src/source/mksdcard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulator/mksdcard/src/source/mksdcard.c b/emulator/mksdcard/src/source/mksdcard.c
index c9a3eeb72..d0b6d5cf6 100644
--- a/emulator/mksdcard/src/source/mksdcard.c
+++ b/emulator/mksdcard/src/source/mksdcard.c
@@ -60,13 +60,13 @@ typedef Byte* Bytes;
static Byte s_boot_sector [ BYTES_PER_SECTOR ]; /* boot sector */
static Byte s_fsinfo_sector [ BYTES_PER_SECTOR ]; /* FS Info sector */
static Byte s_fat_head [ BYTES_PER_SECTOR ]; /* first FAT sector */
-static Byte s_zero_sector [ BYTES_PER_SECTOR ]; /* empty sector */
+// static Byte s_zero_sector [ BYTES_PER_SECTOR ]; /* empty sector */
/* this is the date and time when creating the disk */
static int
get_serial_id( void )
{
- unsigned short lo, hi, mid;
+ unsigned short lo, hi;
time_t now = time(NULL);
struct tm tm = gmtime( &now )[0];