@@ -48,7 +48,7 @@ namespace griddb {
4848 * Return information object of a specific container
4949 */
5050 ContainerInfo* Store::get_container_info (const char * name) {
51- GSContainerInfo containerInfo;
51+ GSContainerInfo containerInfo = GS_CONTAINER_INFO_INITIALIZER ;
5252 GSChar bExists;
5353 GSResult ret = gsGetContainerInfo (mStore , name, &containerInfo, &bExists);
5454 if (ret != GS_RESULT_OK) {
@@ -90,7 +90,7 @@ namespace griddb {
9090 // If not found container, return NULL in target language
9191 return NULL ;
9292 }
93- GSContainerInfo containerInfo;
93+ GSContainerInfo containerInfo = GS_CONTAINER_INFO_INITIALIZER ;
9494 GSChar bExists;
9595 ret = gsGetContainerInfo (mStore , name, &containerInfo, &bExists);
9696 if (ret != GS_RESULT_OK) {
@@ -138,7 +138,6 @@ namespace griddb {
138138 */
139139 void Store::multi_put (GSRow*** listRow, const int *listRowContainerCount,
140140 const char ** listContainerName, size_t containerCount) {
141- const GSChar *containerName;
142141 GSResult ret;
143142 GSContainerRowEntry * entryList = (GSContainerRowEntry*) malloc (containerCount * sizeof (GSContainerRowEntry));
144143 for (int i= 0 ; i < containerCount; i++) {
0 commit comments