diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-08-18 16:28:44 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-08-18 17:40:27 +0930 |
commit | 1aad2a5d8ede9fe5212a4e6087fbe34aa170ac54 (patch) | |
tree | 2e9e55f4713045135d06581bc0725e7ed08f8626 /xkbpath.c | |
parent | 7aef93914e1d6446f64aa42eafa18375c2cb4bed (diff) |
Remove useless longestPath variable.
Diffstat (limited to 'xkbpath.c')
-rw-r--r-- | xkbpath.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -45,7 +45,6 @@ #define PATH_CHUNK 8 /* initial szPath */ static Bool noDefaultPath = False; -static int longestPath; static int szPath; /* number of entries allocated for includePath */ static int nPathEntries; /* number of actual entries in includePath */ static char **includePath; /* Holds all directories we might be including data from */ @@ -197,7 +196,6 @@ XkbClearIncludePath(void) } } nPathEntries = 0; - longestPath = 0; } noDefaultPath = True; return; @@ -226,8 +224,6 @@ XkbAddDirectoryToPath(const char *dir) dir, PATH_MAX - 3); return False; } - if (len > longestPath) - longestPath = len; if (nPathEntries >= szPath) { szPath += PATH_CHUNK; |