summaryrefslogtreecommitdiffstats
path: root/legacy_property_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy_property_service.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/legacy_property_service.cpp b/legacy_property_service.cpp
index 90a0d47df..c3990f7a2 100644
--- a/legacy_property_service.cpp
+++ b/legacy_property_service.cpp
@@ -40,11 +40,8 @@
#define INT32_MAX (2147483647)
#endif
-static int persistent_properties_loaded = 0;
static int property_area_inited = 0;
-static int property_set_fd = -1;
-
typedef struct {
void *data;
size_t size;
@@ -203,7 +200,7 @@ void legacy_get_property_workspace(int *fd, int *sz)
*sz = pa_workspace.size;
}
-static void copy_property_to_legacy(const char *key, const char *value, void *cookie)
+static void copy_property_to_legacy(const char *key, const char *value, void *cookie __unused)
{
legacy_property_set(key, value);
}