summaryrefslogtreecommitdiff
path: root/setxkbmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'setxkbmap.c')
-rw-r--r--setxkbmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setxkbmap.c b/setxkbmap.c
index cde779c..b573b14 100644
--- a/setxkbmap.c
+++ b/setxkbmap.c
@@ -129,7 +129,6 @@ static settings_t settings = {
static XkbConfigRtrnRec cfgResult;
-static XkbRF_RulesPtr rules = NULL;
static XkbRF_VarDefsRec rdefs;
static Bool clearOptions = False;
@@ -829,6 +828,7 @@ applyRules(void)
{
int i;
char *rfName;
+ XkbRF_RulesPtr rules = NULL;
if (settings.model.src || settings.layout.src || settings.variant.src
|| options.item)