diff options
author | Yann Collet <cyan@fb.com> | 2018-09-18 23:30:31 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2018-09-18 23:30:31 (GMT) |
commit | 697bd904b256e9927b65d23e187adb5dddf39399 (patch) | |
tree | b6473c15af56a2304cc8ec5bceb2905944a689a9 /examples/simple_buffer.c | |
parent | e34a27d2910c48e2d7501f5eb0eaefe91c558763 (diff) | |
download | lz4-697bd904b256e9927b65d23e187adb5dddf39399.zip lz4-697bd904b256e9927b65d23e187adb5dddf39399.tar.gz lz4-697bd904b256e9927b65d23e187adb5dddf39399.tar.bz2 |
fixed minor cppcheck warnings in examples
Diffstat (limited to 'examples/simple_buffer.c')
-rw-r--r-- | examples/simple_buffer.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/simple_buffer.c b/examples/simple_buffer.c index 403d9e8..54e542a 100644 --- a/examples/simple_buffer.c +++ b/examples/simple_buffer.c @@ -16,10 +16,9 @@ /* * Easy show-error-and-bail function. */ -void run_screaming(const char *message, const int code) { - printf("%s\n", message); +void run_screaming(const char* message, const int code) { + printf("%s \n", message); exit(code); - return; } |