Re: [PATCH] reds: remove unneeded variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2016-02-17 at 13:26 +0000, Frediano Ziglio wrote:
> Remove version_string variable.
> Was never changed and used in a single place.
> 
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx>
> ---
>  server/reds.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> 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");
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]