summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-03 21:21:19 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-23 12:15:07 -0800
commit232f1ddf3d060f3ce9d2ebd35f33b1294cac380e (patch)
tree929cfe2bb4f2497272e0540ea0980a094018b86c /.gitignore
parent0bc41d5f8d1a6192f57d9bf646cc46ed839b06b9 (diff)
Fix gcc -Wwrite-strings warnings in XkbGetRulesDflts
Stop temporarily storing a pointer to a constant literal string in a char *, just to strdup it a few lines later. Fixes gcc -Wwrite-strings warnings: xkbInit.c: In function 'XkbGetRulesDflts': xkbInit.c:121:38: warning: assignment discards qualifiers from pointer target type xkbInit.c:123:23: warning: assignment discards qualifiers from pointer target type xkbInit.c:125:24: warning: assignment discards qualifiers from pointer target type xkbInit.c:127:25: warning: assignment discards qualifiers from pointer target type xkbInit.c:129:25: warning: assignment discards qualifiers from pointer target type Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions