Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Fix compilation error: void function returning a value #126

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/gameanalytics/GADevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ namespace gameanalytics
#endif

snprintf(GADevice::_deviceModel, sizeof(GADevice::_deviceModel), "%s", modelName.c_str());
return true;
return;
}

std::cout << "Found device name:" << GADevice::_deviceModel;
Expand Down Expand Up @@ -570,7 +570,7 @@ namespace gameanalytics
CoUninitialize();

snprintf(GADevice::_deviceModel, sizeof(GADevice::_deviceModel), "%s", _com_util::ConvertBSTRToString(model));
#elif
#else
return;
#endif // GA_USE_WBEM_SERVICES

Expand Down