Browse Source

Fix two compiler warnings.

../shared/shared.cpp: In function ‘LibraryInfo parseLddLibraryLine(const QString&, const QString&, const QSet<QString>&)’:
../shared/shared.cpp:220:102: warning: unused parameter ‘rpaths’ [-Wunused-parameter]
 LibraryInfo parseLddLibraryLine(const QString &line, const QString &appDirPath, const QSet<QString> &rpaths)
                                                                                                      ^~~~~~
../shared/shared.cpp: In function ‘void stripAppBinary(const QString&)’:
../shared/shared.cpp:681:36: warning: unused parameter ‘bundlePath’ [-Wunused-parameter]
 void stripAppBinary(const QString &bundlePath)
                                    ^~~~~~~~~~
master
Uwe Hermann 8 years ago
parent
commit
a6e35bc727
  1. 4
      shared/shared.cpp

4
shared/shared.cpp

@ -219,6 +219,8 @@ int containsHowOften(QStringList haystack, QString needle) {
LibraryInfo parseLddLibraryLine(const QString &line, const QString &appDirPath, const QSet<QString> &rpaths) LibraryInfo parseLddLibraryLine(const QString &line, const QString &appDirPath, const QSet<QString> &rpaths)
{ {
(void)rpaths;
if(fhsLikeMode == false){ if(fhsLikeMode == false){
bundleLibraryDirectory= "lib"; // relative to bundle bundleLibraryDirectory= "lib"; // relative to bundle
} else { } else {
@ -680,6 +682,8 @@ void runStrip(const QString &binaryPath)
void stripAppBinary(const QString &bundlePath) void stripAppBinary(const QString &bundlePath)
{ {
(void)bundlePath;
runStrip(appBinaryPath); runStrip(appBinaryPath);
} }

Loading…
Cancel
Save