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
commitc189268e0ab3ec33c02c5dbabfd31b37e0b1f5ab (patch)
tree1a67096d0b39a58883f5eaabd041f187ae33b5f3 /sal/workben
parent17a52bb6a8d830b99605b0ecad84e50cac452a28 (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 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");