Browse Source

Merge pull request #28 from Schafwolle/fb-valgrind-fix

fixed unitalized warning of valgrind and optimized dockerfile
pull/30/head
Philipp Riederer 3 years ago
committed by GitHub
parent
commit
0df95e2b41
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test-in-docker/src/CMakeLists.txt
  2. 2
      test-in-docker/src/main.c

2
test-in-docker/src/CMakeLists.txt

@ -18,7 +18,7 @@ include_directories(
include(${LWIP_DIR}/src/Filelists.cmake)
add_compile_options(-Wall -Wextra -Werror)
add_compile_options(-Wall -Wextra -Werror -g3)
add_executable(lwip-runner
${CMAKE_CURRENT_SOURCE_DIR}/main.c

2
test-in-docker/src/main.c

@ -129,7 +129,7 @@ int main(int argc, char **argv) {
return 1;
}
FATFS fs;
FATFS fs = {};
unsigned char *buf[4096];
(void) argc; /* suppress unused warning */

Loading…
Cancel
Save