Commit 793908a046d3e5f32f670b891c85d371b6198e83

Ran Benita 2012-04-11T19:58:03

Remove unused 'compiled' field in XkbFile Signed-off-by: Ran Benita <ran234@gmail.com>

diff --git a/src/xkbcomp/misc.c b/src/xkbcomp/misc.c
index cbab15c..b2222a7 100644
--- a/src/xkbcomp/misc.c
+++ b/src/xkbcomp/misc.c
@@ -113,7 +113,6 @@ ProcessIncludeFile(struct xkb_context *context,
     }
     /* FIXME: we have to check recursive includes here (or somewhere) */
 
-    mapToUse->compiled = true;
     *file_rtrn = mapToUse;
     *merge_rtrn = stmt->merge;
     return true;
diff --git a/src/xkbcomp/parseutils.c b/src/xkbcomp/parseutils.c
index 6af9c4c..bc82a26 100644
--- a/src/xkbcomp/parseutils.c
+++ b/src/xkbcomp/parseutils.c
@@ -678,7 +678,6 @@ CreateXKBFile(int type, char *name, ParseCommon * defs, unsigned flags)
         file->name = name;
         file->defs = defs;
         file->id = fileID++;
-        file->compiled = false;
         file->flags = flags;
     }
     return file;
diff --git a/src/xkbcomp/xkbcomp.h b/src/xkbcomp/xkbcomp.h
index e9042b4..6133dfa 100644
--- a/src/xkbcomp/xkbcomp.h
+++ b/src/xkbcomp/xkbcomp.h
@@ -251,7 +251,6 @@ typedef struct _XkbFile
     ParseCommon *defs;
     int id;
     unsigned flags;
-    bool compiled;
 } XkbFile;
 
 extern struct xkb_keymap *