mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
lib/vfs/path.h: fix coding style.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
a92de91616
commit
c5379ab36e
@ -112,6 +112,7 @@ static inline const char *
|
|||||||
vfs_path_get_last_path_str (const vfs_path_t *vpath)
|
vfs_path_get_last_path_str (const vfs_path_t *vpath)
|
||||||
{
|
{
|
||||||
const vfs_path_element_t *element;
|
const vfs_path_element_t *element;
|
||||||
|
|
||||||
if (vpath == NULL)
|
if (vpath == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
element = vfs_path_get_by_index (vpath, -1);
|
element = vfs_path_get_by_index (vpath, -1);
|
||||||
@ -124,6 +125,7 @@ static inline const struct vfs_class *
|
|||||||
vfs_path_get_last_path_vfs (const vfs_path_t *vpath)
|
vfs_path_get_last_path_vfs (const vfs_path_t *vpath)
|
||||||
{
|
{
|
||||||
const vfs_path_element_t *element;
|
const vfs_path_element_t *element;
|
||||||
|
|
||||||
if (vpath == NULL)
|
if (vpath == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
element = vfs_path_get_by_index (vpath, -1);
|
element = vfs_path_get_by_index (vpath, -1);
|
||||||
|
Loading…
Reference in New Issue
Block a user