[Issue#] LINUXWRT-271
[Problem] Too many warnings
[Cause] N/A
[Solution] Preventing them
[Verification] Build wrt-installer repository
Change-Id: Ibd41be4dd3546dad6fdfa3eda65e44973f43f1d8
namespace {
const int MAX_BUF_SIZE = 128;
+#ifdef WRT_SMACK_ENABLED
const char* SMACK_RULE_STR = "/usr/bin/smackload-app.sh";
+#endif
}
namespace Jobs {
LogError("Failed to get package detail info ");
return NULL;
}
- return &pkg_detail_info;
+ return reinterpret_cast<pkgmgr_info*>(pkg_detail_info);
}
__attribute__ ((visibility("default")))