mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-30 21:37:53 -04:00
treewide: fix some compiler warnings
This commit is contained in:
parent
61726f41d5
commit
e41ba35139
4 changed files with 6 additions and 6 deletions
|
|
@ -426,11 +426,11 @@ static PA_PRINTF_FUNC(1,0) inline char *pa_vsprintf_malloc(const char *fmt, va_l
|
|||
|
||||
static inline char *pa_path_get_filename(const char *p)
|
||||
{
|
||||
char *fn;
|
||||
const char *fn;
|
||||
if (!p)
|
||||
return NULL;
|
||||
if ((fn = strrchr(p, PA_PATH_SEP_CHAR)))
|
||||
return fn+1;
|
||||
return (char*)(fn+1);
|
||||
return (char*) p;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue