summaryrefslogtreecommitdiff
blob: 0f35776bdebc4ea927a27b50329893e9ecef74ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff --git a/src/wdfs-main.c b/src/wdfs-main.c
index 9bd5244..a9917b7 100644
--- a/src/wdfs-main.c
+++ b/src/wdfs-main.c
@@ -697,7 +697,7 @@ static int wdfs_open(const char *localpath, struct fuse_file_info *fi)
 			">> %s() by PID %d\n", __func__, fuse_get_context()->pid);
 	}
 
-	assert(localpath &&  &fi);
+	assert(localpath && fi);
 
 	struct open_file *file = g_new0(struct open_file, 1);
 	file->modified = false;
@@ -763,7 +763,7 @@ static int wdfs_read(
 	if (wdfs.debug == true)
 		print_debug_infos(__func__, localpath);
 
-	assert(localpath && buf &&  &fi);
+	assert(localpath && buf && fi);
 
 	struct open_file *file = (struct open_file*)(uintptr_t)fi->fh;
 
@@ -785,7 +785,7 @@ static int wdfs_write(
 	if (wdfs.debug == true)
 		print_debug_infos(__func__, localpath);
 
-	assert(localpath && buf &&  &fi);
+	assert(localpath && buf && fi);
 
 	/* data below svn_basedir is read-only */
 	if (wdfs.svn_mode == true && g_str_has_prefix(localpath, svn_basedir))
@@ -961,7 +961,7 @@ static int wdfs_ftruncate(
 	if (wdfs.debug == true)
 		print_debug_infos(__func__, localpath);
 
-	assert(localpath &&  &fi);
+	assert(localpath && fi);
 
 	/* data below svn_basedir is read-only */
 	if (wdfs.svn_mode == true && g_str_has_prefix(localpath, svn_basedir))