VirtualBox

Ignore:
Timestamp:
Feb 9, 2012 9:41:51 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76173
Message:

VBoxClient/hostversion: uninitialized variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/hostversion.cpp

    r38725 r40047  
    4747# ifdef VBOX_WITH_DBUS
    4848        DBusConnection *conn;
    49         DBusMessage* msg;
     49        DBusMessage* msg = NULL;
    5050        conn = dbus_bus_get (DBUS_BUS_SESSON, NULL);
    5151        if (conn == NULL)
     
    6565                rc = VERR_INVALID_HANDLE;
    6666            }
    67         else
    68         rc = VINF_SUCCESS;
     67            else
     68                rc = VINF_SUCCESS;
    6969        }
    7070        if (RT_SUCCESS(rc))
     
    116116            }
    117117            if (dbus_error_is_set(&err))
    118             dbus_error_free(&err);
     118                dbus_error_free(&err);
    119119        }
    120120        if (msg != NULL)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette