summaryrefslogtreecommitdiff
path: root/sal/workben/t_readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'sal/workben/t_readline.c')
-rw-r--r--sal/workben/t_readline.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sal/workben/t_readline.c b/sal/workben/t_readline.c
index 9cbc7d39cf20..b82dc7cea8b6 100644
--- a/sal/workben/t_readline.c
+++ b/sal/workben/t_readline.c
@@ -40,11 +40,6 @@ int main (int argc, char ** argv)
result = osl_readLine (hFile, &pBuffer);
if (result != osl_File_E_None)
break;
-#if 0
- if (pBuffer->elements[0] == 0)
- /* @@@ cannot distinguish empty line from EOF @@@ */
- break;
-#endif
for (i = 0, n = pBuffer->nElements; i < n; i++)
printf ("%c", (char)(pBuffer->elements[i]));
printf("\n");