diff --git a/src/ProcessInfo.cpp b/src/ProcessInfo.cpp index 78598042c..7a0ecefbf 100644 --- a/src/ProcessInfo.cpp +++ b/src/ProcessInfo.cpp @@ -682,6 +682,7 @@ private: } virtual bool readEnvironment(int aPid) { + Q_UNUSED(aPid); // Not supported in FreeBSD? return false; } diff --git a/src/Pty.cpp b/src/Pty.cpp index 9b5c6d54b..973a58809 100644 --- a/src/Pty.cpp +++ b/src/Pty.cpp @@ -148,6 +148,8 @@ void Pty::setUtf8Mode(bool enable) if (!pty()->tcSetAttr(&ttmode)) kWarning() << "Unable to set terminal attributes."; } +#else + Q_UNUSED(enable); #endif }