aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-12-18 10:22:10 +0000
committerWerner Koch <[email protected]>2004-12-18 10:22:10 +0000
commit3666a2859bd31115708b027cb69fa824c8111de4 (patch)
tree97d6df62972435b0b200232225553377bbcb005c /g10/call-agent.c
parent2004-12-17 Moritz Schulte <[email protected]> (diff)
downloadgnupg-3666a2859bd31115708b027cb69fa824c8111de4.tar.gz
gnupg-3666a2859bd31115708b027cb69fa824c8111de4.zip
Avoid the " map_to_assuan_status called with no error source" diagnostic.
Diffstat (limited to '')
-rw-r--r--g10/call-agent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c
index 473b38236..9c7f8409b 100644
--- a/g10/call-agent.c
+++ b/g10/call-agent.c
@@ -171,7 +171,9 @@ start_agent (void)
if (rc)
return map_assuan_err (rc);
+#ifdef __GNUC__
#warning put this code into common/asshelp.c
+#endif
dft_display = getenv ("DISPLAY");
if (opt.display || dft_display)