Commit f49e83f4 authored by Vivien Raymond's avatar Vivien Raymond
Browse files

removed all warnings in the posterior folder

Original: 4fbc517ac32f241721c505f2fcac5833e7852d48
parent 5e9cf340
......@@ -664,12 +664,13 @@ char **getHeaderLine(FILE *inp) {
}
colName=strtok(header, delimiters);
colNames[0] = colNameToParamName(colName);
strcpy(colNames[0],colNameToParamName(colName));
//colNames[0] = colNameToParamName(colName); /* switched to strcpy() to avoid warning: assignment discards qualifiers from pointer target type */
colNamesLen=1;
do {
colName=strtok(NULL, delimiters);
colNames[colNamesLen]=colNameToParamName(colName);
strcpy(colNames[colNamesLen],colNameToParamName(colName));
colNamesLen++;
/* Expand if necessary. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment