projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git]
/
service
/
resource-container
/
examples
/
ContainerSample.cpp
diff --git
a/service/resource-container/examples/ContainerSample.cpp
b/service/resource-container/examples/ContainerSample.cpp
index
4d1c2df
..
32397b7
100644
(file)
--- a/
service/resource-container/examples/ContainerSample.cpp
+++ b/
service/resource-container/examples/ContainerSample.cpp
@@
-68,7
+68,7
@@
RCSResourceContainer *g_pResourceContainer = nullptr;
void getCurrentPath(std::string *pPath)
{
- char buffer[MAX_PATH];
+ char buffer[MAX_PATH]
= {0,}
;
if (!pPath->empty())
{
@@
-95,7
+95,7
@@
void getCurrentPath(std::string *pPath)
int processUserInput(int min, int max)
{
- int input;
+ int input
= 0
;
std::cin >> input;