Minor warning fixes when running under FreeBSD

This commit is contained in:
Kurt Hindenburg
2013-02-23 10:00:25 -05:00
parent 8241682b8b
commit 2c686b7afe
2 changed files with 3 additions and 0 deletions

View File

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