Minor warning fixes when running under FreeBSD

wilder-portage
Kurt Hindenburg 13 years ago
parent 8241682b8b
commit 2c686b7afe
  1. 1
      src/ProcessInfo.cpp
  2. 2
      src/Pty.cpp

@ -682,6 +682,7 @@ private:
}
virtual bool readEnvironment(int aPid) {
Q_UNUSED(aPid);
// Not supported in FreeBSD?
return false;
}

@ -148,6 +148,8 @@ void Pty::setUtf8Mode(bool enable)
if (!pty()->tcSetAttr(&ttmode))
kWarning() << "Unable to set terminal attributes.";
}
#else
Q_UNUSED(enable);
#endif
}

Loading…
Cancel
Save