Index: trunk/psLib/test/sys/tst_psTrace.c
===================================================================
--- trunk/psLib/test/sys/tst_psTrace.c	(revision 4951)
+++ trunk/psLib/test/sys/tst_psTrace.c	(revision 5071)
@@ -188,5 +188,4 @@
 static psS32 testTrace04(void)
 {
-    FILE *fp;
     int FD;
     psS32 nb = 0;
@@ -194,5 +193,4 @@
     //    printf("\nFD = %d\n", FD);
     //    fp = fopen("tst_psTrace02_OUT", "w");
-    fp = fdopen(FD, "w");
     for (nb = 0 ; nb<4;nb++) {
         if (nb == 0)
@@ -203,5 +201,5 @@
             psTraceSetDestination(2);
         if (nb == 2)
-            psTraceSetDestination(-1); //NULL
+            psTraceSetDestination(0); //NULL
         if (nb == 3)
             psTraceSetDestination(FD);
@@ -231,5 +229,4 @@
     }
 
-    fclose(fp);
     close(FD);
 
