Skip to content

Commit 9cc42ed

Browse files
committed
Remove trailing space from c-source
1 parent c46bcf3 commit 9cc42ed

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

fuseparts/_fusemodule.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -450,11 +450,11 @@ dir_add_entry(PyObject *v, fuse_dirh_t buf, fuse_dirfil_t df)
450450
fetchattr(&offs, offset);
451451

452452
if (!(pytmp = PyObject_GetAttrString(v, "name")))
453-
goto OUT_DECREF;
453+
goto OUT_DECREF;
454454
if (!PyString_Check(pytmp)) {
455455
Py_DECREF(pytmp);
456-
goto OUT_DECREF;
457-
}
456+
goto OUT_DECREF;
457+
}
458458

459459
char *s;
460460
PATH_AS_STR_BEGIN(pytmp, s);
@@ -678,7 +678,7 @@ read_func(const char *path, char *buf, size_t s, off_t off)
678678

679679

680680
#if PY_MAJOR_VERSION >= 3
681-
Py_buffer buffer;
681+
Py_buffer buffer;
682682

683683
if(PyObject_CheckBuffer(v)) {
684684
PyObject_GetBuffer(v, &buffer, PyBUF_SIMPLE);
@@ -1436,7 +1436,7 @@ Fuse_main(PyObject *self, PyObject *args, PyObject *kw)
14361436
return(NULL);
14371437
}
14381438

1439-
fargv = malloc(fargc * sizeof(char *));
1439+
fargv = malloc(fargc * sizeof(char *));
14401440
if (!fargv)
14411441
return(PyErr_NoMemory());
14421442
#ifdef FIX_PATH_DECODING
@@ -1448,7 +1448,7 @@ Fuse_main(PyObject *self, PyObject *args, PyObject *kw)
14481448
if (fargseq) {
14491449
for (i=0; i < fargc; i++) {
14501450
PyObject *pa;
1451-
1451+
14521452
pa = PySequence_GetItem(fargseq, i);
14531453
if (!PyString_Check(pa)) {
14541454
Py_DECREF(pa);
@@ -1517,7 +1517,7 @@ Fuse_main(PyObject *self, PyObject *args, PyObject *kw)
15171517
}
15181518

15191519
#if FUSE_VERSION >= 26
1520-
fuse_teardown(fuse, fmp);
1520+
fuse_teardown(fuse, fmp);
15211521
#elif FUSE_VERSION >= 22
15221522
fuse_teardown(fuse, fd, fmp);
15231523
#else
@@ -1528,7 +1528,7 @@ Fuse_main(PyObject *self, PyObject *args, PyObject *kw)
15281528
PyErr_SetString(Py_FuseError, "service loop failed");
15291529

15301530
return (NULL);
1531-
}
1531+
}
15321532

15331533
Py_INCREF(Py_None);
15341534
return Py_None;
@@ -1580,15 +1580,15 @@ FuseGetContext(PyObject *self, PyObject *args)
15801580
return(NULL);
15811581

15821582
num = PyInt_FromLong(fc->uid);
1583-
PyDict_SetItemString(ret, "uid", num);
1583+
PyDict_SetItemString(ret, "uid", num);
15841584
Py_XDECREF( num );
15851585

15861586
num = PyInt_FromLong(fc->gid);
1587-
PyDict_SetItemString(ret, "gid", num);
1587+
PyDict_SetItemString(ret, "gid", num);
15881588
Py_XDECREF( num );
15891589

15901590
num = PyInt_FromLong(fc->pid);
1591-
PyDict_SetItemString(ret, "pid", num);
1591+
PyDict_SetItemString(ret, "pid", num);
15921592
Py_XDECREF( num );
15931593

15941594
return(ret);

0 commit comments

Comments
 (0)