From: Jean-Marc Date: Sat, 12 Sep 2015 16:49:22 +0000 (+0200) Subject: Mark dead code as dead X-Git-Tag: 2.2.0alpha1~347 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=41cb3bbc0ee4f505a264c48a711c0110ed0baab6;p=features.git Mark dead code as dead Coverity issue 23511. --- diff --git a/src/support/userinfo.cpp b/src/support/userinfo.cpp index af33d1d66a..97c458c7c7 100644 --- a/src/support/userinfo.cpp +++ b/src/support/userinfo.cpp @@ -64,11 +64,12 @@ docstring const user_email() //The code after should be used only after user approval. return docstring(); - +#if 0 string email = getEnv("EMAIL_ADDRESS"); if (email.empty()) email = getEnv("EMAIL"); return from_local8bit(email); +#endif } } // namespace support