aboutsummaryrefslogtreecommitdiff
path: root/term/src/main/jni/termExec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'term/src/main/jni/termExec.cpp')
-rw-r--r--term/src/main/jni/termExec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/term/src/main/jni/termExec.cpp b/term/src/main/jni/termExec.cpp
index e02ec29..27e08a2 100644
--- a/term/src/main/jni/termExec.cpp
+++ b/term/src/main/jni/termExec.cpp
@@ -30,7 +30,7 @@
#include "termExec.h"
-static void android_os_Exec_setPtyWindowSize(JNIEnv *env, jobject clazz,
+static void android_os_Exec_setPtyWindowSize(JNIEnv *env, jobject clazz __unused,
jint fd, jint row, jint col, jint xpixel, jint ypixel)
{
struct winsize sz;
@@ -57,7 +57,7 @@ static __inline__ int my_tcsetattr(int fd, const struct termios *s)
return ioctl(fd, TCSETS, (void *)s);
}
-static void android_os_Exec_setPtyUTF8Mode(JNIEnv *env, jobject clazz, jint fd, jboolean utf8Mode)
+static void android_os_Exec_setPtyUTF8Mode(JNIEnv *env, jobject clazz __unused, jint fd, jboolean utf8Mode)
{
struct termios tios;