nuttx-apps/testing
chenrun1 2413a2a4c8 testing/memstress:Initialize the pointer to avoid the pointer being unknown when the memory alloc fails
Summary:
  fix warning

In function 'memorystress_iter',
    inlined from 'memstress_main' at memorystress_main.c:475:10:
memorystress_main.c:289:10: error: 'ptr' may be used uninitialized [-Werror=maybe-uninitialized]
  289 |       if (ptr == NULL)
      |          ^
memorystress_main.c: In function 'memstress_main':
memorystress_main.c:248:20: note: 'ptr' was declared here
  248 |       FAR uint8_t *ptr;
      |                    ^~~

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-08-06 19:29:40 -03:00
..
arch_libc cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
atomic cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
batterydump add batterydump tool for dump the battery info 2023-08-10 20:44:03 +08:00
cachetest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
cmocka cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
cpuload cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
crypto cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
cxxtest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
debug testing: Add simple debug test program 2024-06-26 00:19:26 +08:00
drivertest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
epoll cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
fatutf8 cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
fdsantest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
fmemopen cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
fopencookie remove testing/xxx/README.md. Migrated to Documentation/applications/testing 2023-10-30 10:00:01 +08:00
fstest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
getprime testing/getprime: allow running with zero threads 2024-03-12 19:40:17 +08:00
gpu cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
irtest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
ltp lpt/Kconfig: hide TESTING_LTP_STACKSIZE option 2024-07-04 01:12:27 +08:00
memstress testing/memstress:Initialize the pointer to avoid the pointer being unknown when the memory alloc fails 2024-08-06 19:29:40 -03:00
memtester cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
mm cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
monkey cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
mtd_config_fs cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
nand_sim cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
nist-sts cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
nxffs cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
open_memstream cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
opus_ramtest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
ostest ostest/fpu_test: enable for FLAT mode only 2024-08-03 21:09:33 +08:00
ramtest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
scanftest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
sd_bench testing/[sd_bench|sd_stress]: make print compatible for both 32-bit and 64-bit environment. 2024-07-04 17:43:32 +08:00
sd_stress testing/[sd_bench|sd_stress]: make print compatible for both 32-bit and 64-bit environment. 2024-07-04 17:43:32 +08:00
sensortest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
setest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
smart cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
smart_test testing/smart_test/smart_test.c: fix wrong offset in fseek 2024-07-04 01:12:44 +08:00
smp cmake: add smp test 2024-02-05 08:46:22 -08:00
stressapptest cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
testsuites fix nxstyle 2024-05-11 01:20:08 +08:00
uclibcxx_test uclibcxx_test/Make.defs Fix mistakes in comments 2023-03-09 01:43:09 +08:00
unity cmake: add support for Unity 2024-03-23 22:12:46 +01:00
.gitignore Ensure all source code end with one and only one newline 2020-02-09 08:14:49 -06:00
CMakeLists.txt add initial cmake build system 2023-07-08 13:52:02 +08:00
Make.defs Makefiles: Mateusz Szafoni: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile Makefiles: Mateusz Szafoni: update licenses to Apache 2021-06-07 21:35:33 -05:00