aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-12-12 07:36:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-12-12 07:36:36 +0000
commit613a112d8ef97bc5278e6bf51c6904243f3c0742 (patch)
tree98b1698b79a9c053ef13a443c12c4d70f822a0ac
parent2bee1dec3f05ba8f4dd44bc4901774f9e99d96ef (diff)
parent8588bcf7e6fa9026d7b60c6ed81ed91d3d993e80 (diff)
downloadsdk-613a112d8ef97bc5278e6bf51c6904243f3c0742.tar.gz
Merge "Remove unused local variable."android-wear-8.0.0_r1
-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];