mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Remove unused function trim_last_field()
This commit is contained in:
parent
34e52a40c7
commit
ee87b4fc30
2 changed files with 0 additions and 18 deletions
|
|
@ -20,15 +20,6 @@ string_null_or_empty(const char *s)
|
|||
return !s || !*s;
|
||||
}
|
||||
|
||||
void
|
||||
trim_last_field(char *buf, char delim)
|
||||
{
|
||||
char *p = strrchr(buf, delim);
|
||||
if (p) {
|
||||
*p = '\0';
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
rtrim(char *s)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue