src: Eliminate compiler warnings

This commit is contained in:
Jasper St. Pierre
2013-08-23 12:34:38 -04:00
parent 44e3811520
commit d3a88e59b9
3 changed files with 1 additions and 9 deletions

View File

@ -191,10 +191,8 @@ get_app_from_window_wmclass (MetaWindow *window)
{
ShellApp *app;
ShellAppSystem *appsys;
char *appid;
const char *wm_class;
const char *wm_instance;
char *with_desktop;
appsys = shell_app_system_get_default ();
@ -372,12 +370,9 @@ static ShellApp *
get_app_for_window (ShellWindowTracker *tracker,
MetaWindow *window)
{
ShellAppSystem *app_system;
ShellApp *result = NULL;
const char *startup_id;
app_system = shell_app_system_get_default ();
/* First, we check whether we already know about this window,
* if so, just return that.
*/