diff options
author | Thomas White <taw@physics.org> | 2019-04-09 16:55:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-04-09 16:55:39 +0200 |
commit | 774e084ed7f2c08522e91b92fc05607b3fa6a67c (patch) | |
tree | e2d01cada62107be8cce218e605e226f209bf20d /src/cell_explorer.c | |
parent | c808bee46d64de7f0ca3571c38920bb73fb1332c (diff) |
cell_explorer: Initialise scd.enforced_cell to NULL
Diffstat (limited to 'src/cell_explorer.c')
-rw-r--r-- | src/cell_explorer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cell_explorer.c b/src/cell_explorer.c index 5504c4b3..6ade77f4 100644 --- a/src/cell_explorer.c +++ b/src/cell_explorer.c @@ -1533,6 +1533,7 @@ static gint savecell_sig(GtkWidget *widget, CellWindow *w) struct save_cell_data scd; scd.orig_cell = get_cell(w); + scd.enforced_cell = NULL; if ( scd.orig_cell == NULL ) return FALSE; d = gtk_file_chooser_dialog_new("Save Unit Cell File", |