[Spice-commits] server/reds.c
Frediano Ziglio
fziglio at kemper.freedesktop.org
Wed Feb 17 13:56:22 UTC 2016
server/reds.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 2094e8f1db21424fc33a80ddccdb3e05ef5132ec
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Fri Jan 29 12:51:26 2016 +0000
reds: remove unneeded variable
Remove version_string variable.
Was never changed and used in a single place.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Pavel Grunt <pgrunt at redhat.com>
diff --git a/server/reds.c b/server/reds.c
index 99d7377..5fb5825 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -3339,11 +3339,9 @@ static void reds_init_vd_agent_resources(RedsState *reds)
}
}
-const char *version_string = VERSION;
-
static int do_spice_init(RedsState *reds, SpiceCoreInterface *core_interface)
{
- spice_info("starting %s", version_string);
+ spice_info("starting %s", VERSION);
if (core_interface->base.major_version != SPICE_INTERFACE_CORE_MAJOR) {
spice_warning("bad core interface version");
More information about the Spice-commits
mailing list