aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotspiff <spiff@kodi.tv>2018-02-13 12:39:45 +0100
committernotspiff <spiff@kodi.tv>2018-02-13 12:39:45 +0100
commit08141b25b5a834d24c646eac1c4565deea5237a9 (patch)
tree56db8eaa048b783865b246780502c5dd027ba8db
parentbeb763b13e024cf8997b26d3337f26a078e6b20a (diff)
remove unused variable
-rw-r--r--xbmc/platform/linux/XMemUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/platform/linux/XMemUtils.cpp b/xbmc/platform/linux/XMemUtils.cpp
index 809d4c41f9..db187a276d 100644
--- a/xbmc/platform/linux/XMemUtils.cpp
+++ b/xbmc/platform/linux/XMemUtils.cpp
@@ -117,7 +117,7 @@ void GlobalMemoryStatusEx(LPMEMORYSTATUSEX lpBuffer)
#elif defined(TARGET_FREEBSD)
/* sysctl hw.physmem */
size_t physmem = 0, mem_free = 0, pagesize = 0, swap_free = 0;
- size_t mem_avail = 0, mem_inactive = 0, mem_cache = 0, len = 0;
+ size_t mem_inactive = 0, mem_cache = 0, len = 0;
/* physmem */
len = sizeof(physmem);