]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Regtest: fix a couple of unused variable warnings
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 31 Mar 2023 11:17:10 +0000 (13:17 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 31 Mar 2023 11:17:10 +0000 (13:17 +0200)
Copy & paste leftovers

memcheck/tests/linux/aligned_alloc.c
memcheck/tests/solaris/aligned_alloc.c

index 6585580d8b45ebb2b4182056d850f46fd399bd6f..efe4672efc44114db29ea50f37e239c0a31cd82a 100644 (file)
@@ -7,7 +7,7 @@ int main(void)
 {
 #if defined(MUSL_LIBC)
    char* p = NULL;
-   int res;
+
 
    // zero size
    p = aligned_alloc(0, 8);
index 813606223420eed91b1f32562ccac47fa96c7cca..c8e82e276f27b3cd5bec9951fad0456607aa916f 100644 (file)
@@ -5,7 +5,7 @@
 int main(void)
 {
    char* p = NULL;
-   int res;
+
 
    // zero size
    p = aligned_alloc(0, 8);