Permalink
Browse files

jni: fix a few compiler warnings

Change-Id: I2cea21e19038509b01fda66ee1500a29871cad9d
  • Loading branch information...
xdevs23 authored and MSF-Jarvis committed Jun 13, 2017
1 parent 024e9e8 commit 7a5daa421c443e91cce974a357f2be1ec4638e5a
Showing with 3 additions and 3 deletions.
  1. +1 −1 jni/android/bypass.cpp
  2. +2 −2 jni/src/parser.cpp
View
@@ -48,7 +48,7 @@ jobject recurseElement(JNIEnv *env, Bypass::Element element, jobject parent) {
}
JNIEXPORT jobject JNICALL Java_in_uncod_android_bypass_Bypass_processMarkdown
(JNIEnv *env, jobject o, jstring markdown) {
(JNIEnv *env, jobject, jstring markdown) {
const char* str;
str = env->GetStringUTFChars(markdown, NULL);
View
@@ -204,7 +204,7 @@ namespace Bypass {
handleBlock(LIST, ob, text, flags);
}
void Parser::parsedListItem(struct buf *ob, struct buf *text, int flags) {
void Parser::parsedListItem(struct buf *ob, struct buf *text, int) {
handleBlock(LIST_ITEM, ob, text);
}
@@ -336,7 +336,7 @@ namespace Bypass {
return 1;
}
int Parser::parsedAutolink(struct buf *ob, struct buf *link, enum mkd_autolink type) {
int Parser::parsedAutolink(struct buf *ob, struct buf *link, enum mkd_autolink) {
handleNontextSpan(AUTOLINK, ob, link);
return 1;
}

0 comments on commit 7a5daa4

Please sign in to comment.