git: 32ded86a0616 - main - stress2: Fix compiler warning about unused variables
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Feb 2023 05:37:35 UTC
The branch main has been updated by pho:
URL: https://cgit.FreeBSD.org/src/commit/?id=32ded86a0616aa2d66a59ea60f56ed4bcb3e36d2
commit 32ded86a0616aa2d66a59ea60f56ed4bcb3e36d2
Author: Peter Holm <pho@FreeBSD.org>
AuthorDate: 2023-02-11 05:36:39 +0000
Commit: Peter Holm <pho@FreeBSD.org>
CommitDate: 2023-02-11 05:36:39 +0000
stress2: Fix compiler warning about unused variables
---
tools/test/stress2/misc/datamove.sh | 2 +-
tools/test/stress2/misc/datamove2.sh | 2 +-
tools/test/stress2/misc/datamove3.sh | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/test/stress2/misc/datamove.sh b/tools/test/stress2/misc/datamove.sh
index a27a53e5e31b..67de998f3816 100755
--- a/tools/test/stress2/misc/datamove.sh
+++ b/tools/test/stress2/misc/datamove.sh
@@ -194,7 +194,7 @@ int startIO(int fd,char *buffer)
return 0;
}
-int main(int argc,char *argv[],char *envp[])
+int main(void)
{
int fdA,fdB,fdDelayA,fdDelayB;
diff --git a/tools/test/stress2/misc/datamove2.sh b/tools/test/stress2/misc/datamove2.sh
index 1b4c964a1f12..e503edf152a4 100755
--- a/tools/test/stress2/misc/datamove2.sh
+++ b/tools/test/stress2/misc/datamove2.sh
@@ -194,7 +194,7 @@ startIO(int fd, char *buffer)
}
int
-main(int argc, char *argv[], char *envp[])
+main(void)
{
int fdA, fdB, fdDelayA, fdDelayB;
diff --git a/tools/test/stress2/misc/datamove3.sh b/tools/test/stress2/misc/datamove3.sh
index 19beffc00655..0cdd4b5c0c3c 100755
--- a/tools/test/stress2/misc/datamove3.sh
+++ b/tools/test/stress2/misc/datamove3.sh
@@ -192,7 +192,7 @@ startIO(int fd, char *buffer)
}
int
-main(int argc, char *argv[], char *envp[])
+main(void)
{
int fdA, fdB, fdDelayA, fdDelayB;