[Libreoffice-commits] core.git: sal/osl

Stephan Bergmann sbergman at redhat.com
Thu Feb 9 10:22:52 UTC 2017


 sal/osl/unx/backtrace.c |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

New commits:
commit b52948a77d1da6b0b983d5ef6f1d67e253be4ef2
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 9 11:22:26 2017 +0100

    Proper -Werror,-Wunused-parameter fix for C code
    
    Change-Id: I2ebd350c3c39f848f5a39fa120154dc449173434

diff --git a/sal/osl/unx/backtrace.c b/sal/osl/unx/backtrace.c
index 086ba48..4741f36 100644
--- a/sal/osl/unx/backtrace.c
+++ b/sal/osl/unx/backtrace.c
@@ -94,8 +94,9 @@ int backtrace( void **buffer, int max_frames )
     return i;
 }
 
-char ** backtrace_symbols(void * const *, int)
+char ** backtrace_symbols(void * const * buffer, int size)
 {
+    (void)buffer; (void)size;
     return NULL; /*TODO*/
 }
 
@@ -176,8 +177,9 @@ int backtrace( void **buffer, int max_frames )
     return i;
 }
 
-char ** backtrace_symbols(void * const *, int)
+char ** backtrace_symbols(void * const * buffer, int size)
 {
+    (void)buffer; (void)size;
     return NULL; /*TODO*/
 }
 
@@ -249,8 +251,9 @@ int backtrace( void **buffer, int max_frames )
     return i;
 }
 
-char ** backtrace_symbols(void * const *, int)
+char ** backtrace_symbols(void * const * buffer, int size)
 {
+    (void)buffer; (void)size;
     return NULL; /*TODO*/
 }
 
@@ -297,8 +300,9 @@ int backtrace( void **buffer, int max_frames )
     return 0;
 }
 
-char ** backtrace_symbols(void * const *, int)
+char ** backtrace_symbols(void * const * buffer, int size)
 {
+    (void)buffer; (void)size;
     return NULL; /*TODO*/
 }
 


More information about the Libreoffice-commits mailing list