Skip to content

Commit 9593c46

Browse files
Merge pull request #4 from roblatham00/housekeeping
Housekeeping
2 parents 253d262 + a4a5576 commit 9593c46

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/aiori-HDF5.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
} while(0)
6666
#else /* ! (H5_VERS_MAJOR > 1 && H5_VERS_MINOR > 6) */
6767
#define HDF5_CHECK(HDF5_RETURN, MSG) do { \
68-
char resultString[1024]; \
6968
\
7069
if (HDF5_RETURN < 0) { \
7170
fprintf(stdout, "** error **\n"); \

src/aiori-NCMPI.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
* NCMPI_CHECK will display a custom error message and then exit the program
3333
*/
3434
#define NCMPI_CHECK(NCMPI_RETURN, MSG) do { \
35-
char resultString[1024]; \
3635
\
3736
if (NCMPI_RETURN < 0) { \
3837
fprintf(stdout, "** error **\n"); \

src/utilities.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ void ExtractHint(char *settingVal, char *valueVal, char *hintString)
202202
{
203203
char *settingPtr, *valuePtr, *tmpPtr1, *tmpPtr2;
204204

205-
settingPtr = (char *)strtok(hintString, "=");
206-
valuePtr = (char *)strtok(NULL, " \t\r\n");
205+
settingPtr = (char *)strtok(hintString, " =");
206+
valuePtr = (char *)strtok(NULL, " =\t\r\n");
207207
tmpPtr1 = settingPtr;
208208
tmpPtr2 = (char *)strstr(settingPtr, "IOR_HINT__MPI__");
209209
if (tmpPtr1 == tmpPtr2) {

0 commit comments

Comments
 (0)