diff options
author | Stefan Hacker <dd0t@users.sourceforge.net> | 2015-10-19 22:58:19 +0300 |
---|---|---|
committer | Stefan Hacker <dd0t@users.sourceforge.net> | 2015-10-25 21:40:11 +0300 |
commit | a8bed2987c99d6c35ccf4a6100dbed26d11d7bbb (patch) | |
tree | 80095eec18bfcfd6bc3c63747d80bf60dab48e39 /scripts/mklic.pl | |
parent | 73f6051d3528d7ebf0c7a88acb684c8000f0062a (diff) |
Modify generator for licenses.h to fix warnings in that file
Diffstat (limited to 'scripts/mklic.pl')
-rwxr-xr-x | scripts/mklic.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mklic.pl b/scripts/mklic.pl index 4c295fa65..32d5b9899 100755 --- a/scripts/mklic.pl +++ b/scripts/mklic.pl @@ -53,8 +53,8 @@ print $F " const char* url;\n"; print $F " const char* license;\n"; print $F "\n"; print $F " ThirdPartyLicense() : name(0), url(0), license(0) {}\n"; -print $F " ThirdPartyLicense(const char* name, const char* url, const char* license)\n"; -print $F " : name(name), url(url), license(license) {}\n"; +print $F " ThirdPartyLicense(const char* name_, const char* url_, const char* license_)\n"; +print $F " : name(name_), url(url_), license(license_) {}\n"; print $F " bool isEmpty() const { return (name == 0 && url == 0 && license == 0); }\n"; print $F "};\n"; print $F "\n"; |