Revision: 77832
          http://sourceforge.net/p/brlcad/code/77832
Author:   brlcad
Date:     2020-11-30 18:35:52 +0000 (Mon, 30 Nov 2020)
Log Message:
-----------
attempt to quell warning about empty format string.  intentionally writing an 
empty (nul) string to clear cells.

Modified Paths:
--------------
    brlcad/trunk/src/libbu/tbl.c

Modified: brlcad/trunk/src/libbu/tbl.c
===================================================================
--- brlcad/trunk/src/libbu/tbl.c        2020-11-30 16:34:14 UTC (rev 77831)
+++ brlcad/trunk/src/libbu/tbl.c        2020-11-30 18:35:52 UTC (rev 77832)
@@ -205,7 +205,7 @@
            back--;
        }
        while (zeros--) {
-           ft_printf(tbl->t, "");
+           ft_printf(tbl->t, "%s", "");
        }
        ft_printf(tbl->t, "%s", cstr);
        last = cstr;
@@ -224,7 +224,7 @@
                back--;
            }
            while (zeros--) {
-               ft_printf(tbl->t, "");
+               ft_printf(tbl->t, "%s", "");
            }
 
            ft_printf(tbl->t, "%s", cstr);
@@ -239,7 +239,7 @@
        last++;
     }
     while (zeros--) {
-       ft_printf(tbl->t, "");
+       ft_printf(tbl->t, "%s", "");
     }
 
     return tbl;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to