about summary refs log tree commit diff
path: root/generator
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-02 00:51:43 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-02 00:51:43 +0000
commit32c1048a85622ab927ae844e5c3c79eb1c503f1d (patch)
tree5cb0b5bcc9dce1c92d2fec3081ef15a52728682d /generator
parent4f2cda3c5103805c2775f2f98cb82b0ec7b448dc (diff)
downloadnetpbm-mirror-32c1048a85622ab927ae844e5c3c79eb1c503f1d.tar.gz
netpbm-mirror-32c1048a85622ab927ae844e5c3c79eb1c503f1d.tar.xz
netpbm-mirror-32c1048a85622ab927ae844e5c3c79eb1c503f1d.zip
Fix compiler warning
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3827 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'generator')
-rw-r--r--generator/pbmtext.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generator/pbmtext.c b/generator/pbmtext.c
index c288b523..7ea64857 100644
--- a/generator/pbmtext.c
+++ b/generator/pbmtext.c
@@ -1389,12 +1389,11 @@ renderSheet(struct CmdlineInfo const cmdline,
          0xff, 0xff, 0xff, 0xff,  0xff, 0xff, 0xff, 0xfe};
 
     struct pm_selector * selectorP;
+    struct font2 *       fontP;
+    bool                 fontIsComplete;
 
     pm_selector_create_fixed(sheetRequestArray, 32, 126,95, &selectorP);
 
-    struct font2 * fontP;
-    bool fontIsComplete;
-
     computeFont(cmdline, &fontP, selectorP, QUIT, &fontIsComplete);
 
     {