Skip to content

Commit

Permalink
initialize variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerwk committed Apr 17, 2018
1 parent 571dd15 commit 80b98d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pdffit.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int main(int argc, char *argv[]) {
PopplerDocument *doc;
PopplerPage *page;
int npages, n;
PopplerRectangle *boundingbox, *pageboundingbox;
PopplerRectangle *boundingbox = NULL, *pageboundingbox;
PopplerRectangle psize = {0.0, 0.0, 0.0, 0.0};

cairo_surface_t *surface;
Expand Down
2 changes: 1 addition & 1 deletion pdfrects-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ int main(int argc, char *argv[]) {
PopplerRectangle wholepage = {0.0, 0.0, width, height};

PopplerRectangle insert = {200.0, 200.0, 300.0, 300.0}, moved;
gboolean fits;
gboolean fits = FALSE;

cairo_surface_t *surface;
cairo_t *cr;
Expand Down

0 comments on commit 80b98d4

Please sign in to comment.