mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 03:53:21 +02:00
[cleanup] Fix compiler warnings
This commit is contained in:
parent
19c4a999c3
commit
281b959873
2 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,7 @@ public class LocalShellOutputReader extends AbstractHostShellOutputReader implem
|
|||
if(theDebugLine!=null) theDebugLine.append((char)ch);
|
||||
int len = theLine.length()-1;
|
||||
if (len>=0) theLine.deleteCharAt(len);
|
||||
break;
|
||||
case 13:
|
||||
if(theDebugLine!=null) theDebugLine.append((char)ch);
|
||||
break; // Carriage Return: dont append to the buffer
|
||||
|
|
|
@ -74,6 +74,7 @@ public class SshShellOutputReader extends AbstractHostShellOutputReader
|
|||
if(theDebugLine!=null) theDebugLine.append((char)ch);
|
||||
int len = theLine.length()-1;
|
||||
if (len>=0) theLine.deleteCharAt(len);
|
||||
break;
|
||||
case 13:
|
||||
if(theDebugLine!=null) theDebugLine.append((char)ch);
|
||||
break; // Carriage Return: dont append to the buffer
|
||||
|
|
Loading…
Add table
Reference in a new issue