Skip to content

Commit a04a39a

Browse files
author
Nat!
committed
mulle-sde upgrade and less warnings
1 parent c53c459 commit a04a39a

File tree

4 files changed

+63
-34
lines changed

4 files changed

+63
-34
lines changed

cmake/share/CMakeTweaksC.cmake

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmake/share/Environment.cmake

Lines changed: 42 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/mulle-stacktrace-execinfo.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ static int _trim_arse_fat( char *s)
141141

142142
static char *_symbolize_nothing( void *adresse, size_t max, char *buf, size_t len, void **userinfo)
143143
{
144+
MULLE_C_UNUSED( adresse);
145+
MULLE_C_UNUSED( max);
146+
MULLE_C_UNUSED( buf);
147+
MULLE_C_UNUSED( len);
148+
MULLE_C_UNUSED( userinfo);
149+
144150
return( NULL);
145151
}
146152

@@ -192,6 +198,9 @@ static int _trim_boring_functions( char *s, int size)
192198

193199
static int keep_boring_functions( char *s, int size)
194200
{
201+
MULLE_C_UNUSED( s);
202+
MULLE_C_UNUSED( size);
203+
195204
return( 0);
196205
}
197206

src/mulle-stacktrace-nop.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ void _mulle_stacktrace_init( struct mulle_stacktrace *stacktrace,
1111
int (*is_boring)( char *, int size))
1212
{
1313
// does nothing
14+
MULLE_C_UNUSED( stacktrace);
15+
MULLE_C_UNUSED( symbolize);
16+
MULLE_C_UNUSED( trim_belly_fat);
17+
MULLE_C_UNUSED( trim_arse_fat);
18+
MULLE_C_UNUSED( is_boring);
1419
}
1520

1621
// stacktrace may be NULL
@@ -20,12 +25,17 @@ void _mulle_stacktrace( struct mulle_stacktrace *stacktrace,
2025
FILE *fp)
2126
{
2227
// does absolutely nothing
28+
MULLE_C_UNUSED( stacktrace);
29+
MULLE_C_UNUSED( offset);
30+
MULLE_C_UNUSED( format);
31+
MULLE_C_UNUSED( fp);
2332
}
2433

2534

2635
void _mulle_stacktrace_init_default( struct mulle_stacktrace *stacktrace)
2736
{
2837
// does absolutely nothing
38+
MULLE_C_UNUSED( stacktrace);
2939
}
3040

3141

0 commit comments

Comments
 (0)