projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
postcomputes show up in results (all zeros so far)
[pspp]
/
src
/
output
/
odt.c
diff --git
a/src/output/odt.c
b/src/output/odt.c
index a96958b9e8e5d30273cf2a2282402d44272cfc8c..abb30cb530c7c1c85b3edd46afdd825fbe573fe6 100644
(file)
--- a/
src/output/odt.c
+++ b/
src/output/odt.c
@@
-285,7
+285,6
@@
odt_create (struct file_handle *fh, enum settings_output_devices device_type,
struct string_map *o UNUSED)
{
struct output_driver *d;
struct string_map *o UNUSED)
{
struct output_driver *d;
- struct odt_driver *odt;
struct zip_writer *zip;
const char *file_name = fh_get_file_name (fh);
struct zip_writer *zip;
const char *file_name = fh_get_file_name (fh);
@@
-293,7
+292,7
@@
odt_create (struct file_handle *fh, enum settings_output_devices device_type,
if (zip == NULL)
return NULL;
if (zip == NULL)
return NULL;
-
odt = xzalloc (sizeof *odt
);
+
struct odt_driver *odt = XZALLOC (struct odt_driver
);
d = &odt->driver;
output_driver_init (d, &odt_driver_class, file_name, device_type);
d = &odt->driver;
output_driver_init (d, &odt_driver_class, file_name, device_type);