about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/strtod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index d15237125e..62a4c9996e 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -1051,7 +1051,7 @@ INTERNAL (STRTOF) (nptr, endptr, group LOCALE_PARAM)
 		  numsize += size;
 		  if (cy == 0)
 		    --numsize;
-		  SWAP (psrc, pdest);
+		  (void) SWAP (psrc, pdest);
 		}
 	      expbit <<= 1;
 	      ++ttab;
@@ -1214,7 +1214,7 @@ INTERNAL (STRTOF) (nptr, endptr, group LOCALE_PARAM)
 		densize += ttab->arraysize - _FPIO_CONST_OFFSET;
 		if (cy == 0)
 		  --densize;
-		SWAP (psrc, pdest);
+		(void) SWAP (psrc, pdest);
 	      }
 	  }
 	expbit <<= 1;