aboutsummaryrefslogtreecommitdiff
path: root/src/gui_backend_local.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-05-07 16:59:20 +0200
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commit184a643f177363b8cb2a44dd04221de556cebec0 (patch)
tree2f90d6b2d9575b37716d94c0de8f8a111ca9dbcd /src/gui_backend_local.c
parentfe69017a159bc639d4bafe82c306f82c1ecff247 (diff)
Don't bother creating pipes that aren't used
Diffstat (limited to 'src/gui_backend_local.c')
-rw-r--r--src/gui_backend_local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c
index 9e7d5559..0c459d28 100644
--- a/src/gui_backend_local.c
+++ b/src/gui_backend_local.c
@@ -140,7 +140,7 @@ static int run_unitcell(struct crystfelproject *proj,
int n_args;
int i;
int r;
- int ch_stdin, ch_stdout, ch_stderr;
+ int ch_stderr;
GError *error;
struct local_backend_priv *priv = proj->backend_private;
@@ -212,7 +212,7 @@ static int run_unitcell(struct crystfelproject *proj,
| G_SPAWN_DO_NOT_REAP_CHILD,
NULL, NULL,
&priv->indexamajig_pid,
- &ch_stdin, &ch_stdout, &ch_stderr,
+ NULL, NULL, &ch_stderr,
&error);
if ( r == FALSE ) {
ERROR("Failed to run indexamajig: %s\n",