diff options
author | David 'Digit' Turner <digit@android.com> | 2010-10-27 02:34:46 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2010-10-27 02:34:46 +0200 |
commit | dc46820125f5eaa0191193f5b71afba5f4915607 (patch) | |
tree | 084b1d512c6ee08126611d024185ab5fc4b4b45d /vl-android.c | |
parent | 9690461f3f0a7710d8f1b364563395e2baadb085 (diff) | |
download | external_qemu-dc46820125f5eaa0191193f5b71afba5f4915607.zip external_qemu-dc46820125f5eaa0191193f5b71afba5f4915607.tar.gz external_qemu-dc46820125f5eaa0191193f5b71afba5f4915607.tar.bz2 |
Allow OS X emulator to open host /dev/ devices.
Only Win32 does not allow this, so simplify the tests in the source code
+ Remove compiler warning
Change-Id: I100dd59e4477edcd24dd94becfa3e3b83a2b92ab
Diffstat (limited to 'vl-android.c')
-rw-r--r-- | vl-android.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vl-android.c b/vl-android.c index d353c31..1f65c3b 100644 --- a/vl-android.c +++ b/vl-android.c @@ -4435,7 +4435,7 @@ int main(int argc, char **argv, char **envp) case QEMU_OPTION_startdate: { struct tm tm; - time_t rtc_start_date; + time_t rtc_start_date = 0; if (!strcmp(optarg, "now")) { rtc_date_offset = -1; } else { |