mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-05 04:46:43 +01:00
GioLister: Use nullptr
This commit is contained in:
parent
0dbf3b462b
commit
98178947ae
@ -473,7 +473,7 @@ void GioLister::DeviceInfo::ReadMountInfo(GMount *mount) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_GIO_UNIX
|
#ifdef HAVE_GIO_UNIX
|
||||||
GUnixMountEntry *unix_mount = g_unix_mount_for(g_file_get_path(root), NULL);
|
GUnixMountEntry *unix_mount = g_unix_mount_for(g_file_get_path(root), nullptr);
|
||||||
if (unix_mount) {
|
if (unix_mount) {
|
||||||
// the GIO's definition of system internal mounts include filesystems like
|
// the GIO's definition of system internal mounts include filesystems like
|
||||||
// autofs, tmpfs, sysfs, etc, and various system directories, including the root,
|
// autofs, tmpfs, sysfs, etc, and various system directories, including the root,
|
||||||
|
Loading…
Reference in New Issue
Block a user