fixes: clang build error with NDEBUG: expected expression IOS-BUILD_NDEBUG_FIX
authorbuff <andreas@pep-project.org>
Mon, 30 Sep 2019 20:48:31 +0200
branchIOS-BUILD_NDEBUG_FIX
changeset 410176729f6acb0d
parent 4099 1d38cc7fcc5b
child 4102 b2e687335205
child 4103 6e1a21395668
fixes: clang build error with NDEBUG: expected expression
src/platform_unix.c
     1.1 --- a/src/platform_unix.c	Mon Sep 30 16:48:37 2019 +0200
     1.2 +++ b/src/platform_unix.c	Mon Sep 30 20:48:31 2019 +0200
     1.3 @@ -494,7 +494,7 @@
     1.4  
     1.5  DYNAMIC_API const char *per_user_directory(void) {
     1.6  #ifdef NDEBUG
     1.7 -    return _per_user_directory(void);
     1.8 +    return _per_user_directory();
     1.9  #else 
    1.10      return _per_user_directory(false);
    1.11  #endif