mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-22 15:21:33 +02:00
postscript.c (ps_for_all_pkg): "pages" was never initialized
This commit is contained in:
parent
e2749ea6c5
commit
5130707371
@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* postscript.c - Dump objects in Postscript
|
* postscript.c - Dump objects in Postscript
|
||||||
*
|
*
|
||||||
* Written 2009-2011 by Werner Almesberger
|
* Written 2009-2012 by Werner Almesberger
|
||||||
* Copyright 2009-2011 by Werner Almesberger
|
* Copyright 2009-2012 by Werner Almesberger
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* 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)
|
const char *one)
|
||||||
{
|
{
|
||||||
struct pkg *pkg;
|
struct pkg *pkg;
|
||||||
int pages;
|
int pages = 0;
|
||||||
|
|
||||||
for (pkg = pkgs; pkg; pkg = pkg->next)
|
for (pkg = pkgs; pkg; pkg = pkg->next)
|
||||||
if (pkg->name)
|
if (pkg->name)
|
||||||
|
Loading…
Reference in New Issue
Block a user