test: test-config-parse-logsize: Don't print size uninitialised

```
[15/34] Compiling C object test/test-config-parse-logsize.p/test-config-parse-logsize.c.o
../../../test/test-config-parse-logsize.c:53:4: warning: 6th function call argument is an uninitialized value [core.CallAndMessage]
                        warn("[%zu] Str %s expected size %lu rc %d,"
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: If2815404f76e9c8e6b9b5c55abb78a102a808c03
diff --git a/test/test-config-parse-logsize.c b/test/test-config-parse-logsize.c
index 964d894..d6b4873 100644
--- a/test/test-config-parse-logsize.c
+++ b/test/test-config-parse-logsize.c
@@ -48,16 +48,18 @@
 	for (i = 0; i < num_tests; i++) {
 		rc = config_parse_logsize(test_data[i].test_str, &size);
 
-		if ((rc == -1 && rc != test_data[i].expected_rc) ||
-		    (rc == 0 && test_data[i].expected_size != size)) {
-			warn("[%zu] Str %s expected size %lu rc %d,"
-                             " got size %lu rc %d\n",
+		if (rc == -1 && rc != test_data[i].expected_rc) {
+			warn("[%zu] Str %s expected rc %d, got rc %d\n",
+			     i,
+			     test_data[i].test_str,
+			     test_data[i].expected_rc,
+			     rc);
+		} else if (rc == 0 && test_data[i].expected_size != size) {
+			warn("[%zu] Str %s expected size %lu, got size %lu\n",
 			     i,
 			     test_data[i].test_str,
 			     test_data[i].expected_size,
-			     test_data[i].expected_rc,
-			     size,
-			     rc);
+			     size);
 		}
 		assert(rc == test_data[i].expected_rc);
 		if (rc == 0)