summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm_utils.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2020-05-02 11:47:29 +0200
committerSander Vrijders <sander@ouroboros.rocks>2020-05-02 11:52:54 +0200
commit65054fafc577cd326832fb4f673ecadd93c778e2 (patch)
tree5460ee498c0518fadf903745865812628466db41 /src/tools/irm/irm_utils.c
parentae995c0f88e56680f5b8e18aa51ed6bee8776c6b (diff)
downloadouroboros-65054fafc577cd326832fb4f673ecadd93c778e2.tar.gz
ouroboros-65054fafc577cd326832fb4f673ecadd93c778e2.zip
ipcpd: Remove some unused variables0.17.4
The compiler spotted some variables that weren't really used. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools/irm/irm_utils.c')
-rw-r--r--src/tools/irm/irm_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/irm/irm_utils.c b/src/tools/irm/irm_utils.c
index 0620e374..d3bdf3d6 100644
--- a/src/tools/irm/irm_utils.c
+++ b/src/tools/irm/irm_utils.c
@@ -109,7 +109,7 @@ int wildcard_match(const char * pattern,
return 0;
/* General case, use recursion. */
- while ((c = *string) != '\0') {
+ while (*string != '\0') {
if (!wildcard_match(pattern, string))
return 0;
++string;