Dont redeclare DBusMessage* msg;
authorBrandon Schaefer
Fri, 18 Jul 2014 14:10:45 -0700
changeset 9009ddbca09f8f9d
parent 9008 f061a86fbb08
child 9010 6d059ed9b6ca
Dont redeclare DBusMessage* msg;
src/core/linux/SDL_ibus.c
     1.1 --- a/src/core/linux/SDL_ibus.c	Sun Jul 13 09:04:55 2014 -0700
     1.2 +++ b/src/core/linux/SDL_ibus.c	Fri Jul 18 14:10:45 2014 -0700
     1.3 @@ -331,10 +331,10 @@
     1.4      }
     1.5  
     1.6      if(result){
     1.7 -        DBusMessage *msg = dbus->message_new_method_call(IBUS_SERVICE,
     1.8 -                                                         input_ctx_path,
     1.9 -                                                         IBUS_INPUT_INTERFACE,
    1.10 -                                                         "SetCapabilities");
    1.11 +        msg = dbus->message_new_method_call(IBUS_SERVICE,
    1.12 +                                            input_ctx_path,
    1.13 +                                            IBUS_INPUT_INTERFACE,
    1.14 +                                            "SetCapabilities");
    1.15          if(msg){
    1.16              Uint32 caps = IBUS_CAP_FOCUS | IBUS_CAP_PREEDIT_TEXT;
    1.17              dbus->message_append_args(msg,