summaryrefslogtreecommitdiff
path: root/sal/workben
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas.kanapickas@gmail.com>2010-10-18 16:25:37 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-18 16:25:47 +0100
commita8ac6c40db8f3b0ba1693c6e7135fb559e56be2c (patch)
tree98e5d778bf12b8787dca7fdd3b89360d8c2b2f40 /sal/workben
parent18e67a7e8cf65186047aeb62643aa716a731f507 (diff)
remove non-compiled code
Diffstat (limited to 'sal/workben')
-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 9cbc7d39c..b82dc7cea 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");