mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pw-cli: remove unused INDENT macro
This commit is contained in:
parent
b1443185ea
commit
05ec64623a
1 changed files with 0 additions and 12 deletions
|
|
@ -10,9 +10,6 @@
|
|||
#include <signal.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#if !defined(__FreeBSD__) && !defined(__MidnightBSD__)
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <getopt.h>
|
||||
#include <fnmatch.h>
|
||||
#ifdef HAVE_READLINE
|
||||
|
|
@ -2162,15 +2159,6 @@ children_of(struct remote_data *rd, uint32_t parent_id,
|
|||
return count;
|
||||
}
|
||||
|
||||
#define INDENT(_level) \
|
||||
({ \
|
||||
int __level = (_level); \
|
||||
char *_indent = alloca(__level + 1); \
|
||||
memset(_indent, '\t', __level); \
|
||||
_indent[__level] = '\0'; \
|
||||
(const char *)_indent; \
|
||||
})
|
||||
|
||||
static bool parse(struct data *data, char *buf, char **error)
|
||||
{
|
||||
char *a[2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue