Fix some warnings in xsys

- Remove unused code
- Fix leak
This commit is contained in:
TingPing
2014-12-11 09:57:11 -05:00
parent 74ff67acd3
commit 72f82d096c
6 changed files with 7 additions and 123 deletions

View File

@@ -1,7 +1,7 @@
libdir = $(hexchatlibdir)
lib_LTLIBRARIES = sysinfo.la
sysinfo_la_SOURCES = hwmon.c match.c parse.c pci.c xsys.c
sysinfo_la_SOURCES = match.c parse.c pci.c xsys.c
sysinfo_la_LDFLAGS = -avoid-version -module
sysinfo_la_LIBADD = -lpci
AM_CPPFLAGS = $(COMMON_CFLAGS) -I$(srcdir)/../../src/common