From fd07a6bb367a313a6bdf9d8954cb3f6c904a8104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Tue, 3 Jul 2012 11:37:56 +0200 Subject: [PATCH] Remove unused argument from init_wdefaults() The function init_wdefaults() doesn't use the argument WScreen, so it can be removed. --- src/wdefaults.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wdefaults.c b/src/wdefaults.c index 8d1ef543..7170b3d1 100644 --- a/src/wdefaults.c +++ b/src/wdefaults.c @@ -89,7 +89,7 @@ static WMPropList *AIcon; static WMPropList *AnyWindow; static WMPropList *No; -static void init_wdefaults(WScreen * scr) +static void init_wdefaults(void) { AIcon = WMCreatePLString("Icon"); @@ -209,7 +209,7 @@ wDefaultFillAttributes(WScreen * scr, char *instance, char *class, dw = dc = dn = da = NULL; if (!ANoTitlebar) - init_wdefaults(scr); + init_wdefaults(); if (class && instance) { buffer = StrConcatDot(instance, class); @@ -411,7 +411,7 @@ int wDefaultGetStartWorkspace(WScreen * scr, char *instance, char *class) char *tmp; if (!ANoTitlebar) - init_wdefaults(scr); + init_wdefaults(); if (!WDWindowAttributes->dictionary) return -1; @@ -439,7 +439,7 @@ char *wDefaultGetIconFile(WScreen *scr, char *instance, char *class, Bool noDefa char *tmp; if (!ANoTitlebar) - init_wdefaults(scr); + init_wdefaults(); if (!WDWindowAttributes->dictionary) return NULL;