1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-25 20:19:21 +02:00

postscript.c (ps_for_all_pkg): "pages" was never initialized

This commit is contained in:
Werner Almesberger 2012-03-17 22:38:06 -03:00
parent e2749ea6c5
commit 5130707371

View File

@ -1,8 +1,8 @@
/*
* postscript.c - Dump objects in Postscript
*
* Written 2009-2011 by Werner Almesberger
* Copyright 2009-2011 by Werner Almesberger
* Written 2009-2012 by Werner Almesberger
* Copyright 2009-2012 by Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -1090,7 +1090,7 @@ static int ps_for_all_pkg(FILE *file,
const char *one)
{
struct pkg *pkg;
int pages;
int pages = 0;
for (pkg = pkgs; pkg; pkg = pkg->next)
if (pkg->name)