From 73001513015f3dcbcd9172ee3bc4686a1e983bcb Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Sun, 25 Feb 2018 15:35:40 +0200 Subject: android: Don't assert all params This function is not very well documented. --- src/libandroid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libandroid.c') diff --git a/src/libandroid.c b/src/libandroid.c index c8bafa9..e03bc9d 100644 --- a/src/libandroid.c +++ b/src/libandroid.c @@ -508,7 +508,7 @@ ANativeWindow_setBuffersGeometry(struct ANativeWindow *window, int32_t width, in int32_t ANativeWindow_lock(struct ANativeWindow *window, struct ANativeWindow_Buffer *outBuffer, struct ARect *inOutDirtyBounds) { - assert(window && outBuffer && inOutDirtyBounds); + assert(window); return 0; } -- cgit v1.2.3