void getCurrentPath(std::string *pPath)
{
- char buffer[MAX_PATH];
+ char buffer[MAX_PATH] = {0,};
#if defined(__linux__)
char *strPath = NULL;
namespace
{
- void onCacheCB(const RCSResourceAttributes &)
+ void onCacheCB(const RCSResourceAttributes &, int)
{
}
}
{
bool isCalled = false;
mocks.ExpectCallFunc(onCacheCB).Do(
- [this, &isCalled](const RCSResourceAttributes &)
+ [this, &isCalled](const RCSResourceAttributes &, int)
{
isCalled = true;
});