summaryrefslogtreecommitdiffstats
path: root/qemu-ga.c
diff options
context:
space:
mode:
authorAnthony Liguori2012-09-25 23:06:16 +0200
committerAnthony Liguori2012-09-25 23:06:16 +0200
commit3988475b9b7fa251b00a29b076761d8c1c7e64dc (patch)
tree140c0410e1d8133ddd33e07ad2fc9c2a8d0e824b /qemu-ga.c
parentMerge remote-tracking branch 'afaerber/qom-cpu' into staging (diff)
parentw32: Always use standard instead of native format strings (diff)
downloadqemu-3988475b9b7fa251b00a29b076761d8c1c7e64dc.tar.gz
qemu-3988475b9b7fa251b00a29b076761d8c1c7e64dc.tar.xz
qemu-3988475b9b7fa251b00a29b076761d8c1c7e64dc.zip
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
* stefanha/trivial-patches: w32: Always use standard instead of native format strings net/socket: Fix compiler warning (regression for MinGW) linux-user: Remove redundant null check and replace free by g_free qemu-timer: simplify qemu_run_timers TextConsole: saturate escape parameter in TTY_STATE_CSI curses: don't initialize curses when qemu is daemonized dtrace backend: add function to reserved words pflash_cfi01: Fix warning caused by unreachable code ioh3420: Remove unreachable code lm4549: Fix buffer overflow cadence_uart: Fix buffer overflow qemu-sockets: Fix potential memory leak qemu-ga: Remove unreachable code after g_error target-i386: Allow tsc-frequency to be larger then 2.147G
Diffstat (limited to 'qemu-ga.c')
-rw-r--r--qemu-ga.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/qemu-ga.c b/qemu-ga.c
index 7623079887..b7474708f0 100644
--- a/qemu-ga.c
+++ b/qemu-ga.c
@@ -114,12 +114,10 @@ static gboolean register_signal_handlers(void)
ret = sigaction(SIGINT, &sigact, NULL);
if (ret == -1) {
g_error("error configuring signal handler: %s", strerror(errno));
- return false;
}
ret = sigaction(SIGTERM, &sigact, NULL);
if (ret == -1) {
g_error("error configuring signal handler: %s", strerror(errno));
- return false;
}
return true;