summaryrefslogtreecommitdiff
path: root/scripts/mkrestrictiontable.pl
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2014-09-07 19:59:08 -0400
committerAllen Winter <allen.winter@kdab.com>2014-09-07 19:59:08 -0400
commitaf1ad47fad1fc91989847bab22d12c3996a040ef (patch)
tree09f4ed9452778c54a8791c4b229f8e24f3af7546 /scripts/mkrestrictiontable.pl
parenta046f246262fcb0c7da33ec1b6958abc0fc56863 (diff)
downloadlibical-git-af1ad47fad1fc91989847bab22d12c3996a040ef.tar.gz
Eliminate many compiler warnings from gcc
Diffstat (limited to 'scripts/mkrestrictiontable.pl')
-rwxr-xr-xscripts/mkrestrictiontable.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkrestrictiontable.pl b/scripts/mkrestrictiontable.pl
index 101e8b7c..d47f3ffd 100755
--- a/scripts/mkrestrictiontable.pl
+++ b/scripts/mkrestrictiontable.pl
@@ -60,7 +60,7 @@ while(<F>)
# Print the terminating line
-print " {ICAL_METHOD_NONE,ICAL_NO_COMPONENT,ICAL_NO_PROPERTY,ICAL_RESTRICTION_NONE}\n";
+print " {ICAL_METHOD_NONE,ICAL_NO_COMPONENT,ICAL_NO_PROPERTY,ICAL_RESTRICTION_NONE,0}\n";
print "};\n";
@@ -96,7 +96,7 @@ while(<F>)
}
# print the terminating line
-print " {ICAL_METHOD_NONE,ICAL_NO_COMPONENT,ICAL_NO_COMPONENT,ICAL_RESTRICTION_NONE}\n";
+print " {ICAL_METHOD_NONE,ICAL_NO_COMPONENT,ICAL_NO_COMPONENT,ICAL_RESTRICTION_NONE,0}\n";
print "};\n";
}