Skip to content

Commit

Permalink
Added missing newline characters to some msDebug() calls. Removed one…
Browse files Browse the repository at this point in the history
… spurious msDebug() call.
  • Loading branch information
sdlime committed Mar 9, 2024
1 parent c31fbb5 commit ac15fa1
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/mapquery.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ int msQueryByFilter(mapObj *map) {
}

if (map->debug >= MS_DEBUGLEVEL_V) {
msDebug("msQueryByFilter(): No matching record(s) found.");
msDebug("msQueryByFilter(): No matching record(s) found.\n");
}
return (MS_SUCCESS);

Expand Down Expand Up @@ -1472,7 +1472,7 @@ int msQueryByRect(mapObj *map) {
}

if (map->debug >= MS_DEBUGLEVEL_V) {
msDebug("msQueryByRect(): No matching record(s) found.");
msDebug("msQueryByRect(): No matching record(s) found.\n");
}
return (MS_SUCCESS);
}
Expand Down Expand Up @@ -1507,9 +1507,6 @@ int msQueryByFeatures(mapObj *map) {

initQueryCache(&queryCache);

if (map->debug)
msDebug("in msQueryByFeatures()\n");

/* is the selection layer valid and has it been queried */
if (map->query.slayer < 0 || map->query.slayer >= map->numlayers) {
msSetError(MS_QUERYERR, "Invalid selection layer index.",
Expand Down Expand Up @@ -1853,7 +1850,7 @@ int msQueryByFeatures(mapObj *map) {
}

if (map->debug >= MS_DEBUGLEVEL_V) {
msDebug("msQueryByFeatures(): No matching record(s) found.");
msDebug("msQueryByFeatures(): No matching record(s) found.\n");
}
return (MS_SUCCESS);
}
Expand Down Expand Up @@ -2133,7 +2130,7 @@ int msQueryByPoint(mapObj *map) {
}

if (map->debug >= MS_DEBUGLEVEL_V) {
msDebug("msQueryByPoint(): No matching record(s) found.");
msDebug("msQueryByPoint(): No matching record(s) found.\n");
}
return (MS_SUCCESS);
}
Expand Down Expand Up @@ -2467,7 +2464,7 @@ int msQueryByShape(mapObj *map) {
}

if (map->debug >= MS_DEBUGLEVEL_V) {
msDebug("msQueryByShape(): No matching record(s) found.");
msDebug("msQueryByShape(): No matching record(s) found.\n");
}
return (MS_SUCCESS);
}
Expand Down

0 comments on commit ac15fa1

Please sign in to comment.