Fix a compiler warning in initStringInfo().
authorTatsuo Ishii <[email protected]>
Sat, 11 Jan 2025 06:52:37 +0000 (15:52 +0900)
committerTatsuo Ishii <[email protected]>
Sat, 11 Jan 2025 06:52:37 +0000 (15:52 +0900)
Fix a compiler warning found by Cfbot. This was caused by commit
bb86e85e442.

src/common/stringinfo.c

index f43170034114f23ea7e4a67aa30736550b484e0e..22d03807697ece9f581857ac2fb603d1297d3714 100644 (file)
@@ -96,7 +96,7 @@ makeStringInfoExt(int initsize)
 void
 initStringInfo(StringInfo str)
 {
-       return initStringInfoInternal(str, STRINGINFO_DEFAULT_SIZE);
+       initStringInfoInternal(str, STRINGINFO_DEFAULT_SIZE);
 }
 
 /*