This fixes some harmless warnings on HURD.

---
As 0 is also a null pointer in C (actually NULL may and
actually is on some platforms just 0), there can be no
advantage of assigning NULL there on unknown platforms.

Additionally all the other widgets already assign 0 there.

diff --git a/gv/src/FileSel.c b/gv/src/FileSel.c
index 24af77b..48c2098 100644
--- a/gv/src/FileSel.c
+++ b/gv/src/FileSel.c
@@ -386,15 +386,9 @@ FileSelectionClassRec file_selectionClassRec = {
     /* resources          */   resources,
     /* resource_count     */   XtNumber(resources),
     /* xrm_class          */   NULLQUARK,
-#if defined(linux) || defined(SYSV) || defined(SVR4)
     /* compress_motion    */   0,
     /* compress_exposure  */   0,
     /* compress_enterleave*/   0,
-#else
-    /* compress_motion    */   NULL,
-    /* compress_exposure  */   NULL,
-    /* compress_enterleave*/   NULL,
-#endif
     /* visible_interest   */   FALSE,
     /* destroy            */   Destroy,
     /* resize             */   XtInheritResize,

Reply via email to