summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index bba75b0e9..c62d70246 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -1325,7 +1325,7 @@ special_name (const char *s, int inc = 1)
|| strncasematch (s, "con", 3))
p = s + n;
else if (strncasematch (s, "com", 3) || strncasematch (s, "lpt", 3))
- (void) strtoul (s + 3, (char **) &p, 10);
+ strtoul (s + 3, (char **) &p, 10);
if (p && (*p == '\0' || *p == '.'))
return -1;
@@ -2682,7 +2682,7 @@ symlink_worker (const char *oldpath, const char *newpath, bool use_winsym,
{
strcpy (w32oldpath, oldpath);
create_how = CREATE_ALWAYS;
- (void) SetFileAttributes (win32_path, FILE_ATTRIBUTE_NORMAL);
+ SetFileAttributes (win32_path, FILE_ATTRIBUTE_NORMAL);
}
else
{
@@ -3998,7 +3998,7 @@ etc::init (int n, const char *etc_fn)
fn[n] = etc_fn;
change_possible[n] = false;
- (void) test_file_change (n);
+ test_file_change (n);
paranoid_printf ("fn[%d] %s, curr_ix %d", n, fn[n], curr_ix);
return n;
}
@@ -4052,7 +4052,7 @@ etc::dir_changed (int n)
change_possible[n] = true;
else if (WaitForSingleObject (changed_h, 0) == WAIT_OBJECT_0)
{
- (void) FindNextChangeNotification (changed_h);
+ FindNextChangeNotification (changed_h);
memset (change_possible, true, sizeof change_possible);
}
}