aboutsummaryrefslogtreecommitdiff
path: root/src/lib/cfuns-c.cxx
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2022-10-28 04:00:00 +0200
committerIgor Pashev <pashev.igor@gmail.com>2022-10-29 11:57:20 +0200
commit8df721df25864f89772c58a4486314855bf1a37e (patch)
tree7c89253922a8f09b964876b438056e2655cc9062 /src/lib/cfuns-c.cxx
parent467b6fb9eeb12d064c1f6fa4d7f87638e49685ca (diff)
downloadopen-axiom-8df721df25864f89772c58a4486314855bf1a37e.tar.gz
Fix some compiler warnings & buffer overflows
Diffstat (limited to 'src/lib/cfuns-c.cxx')
-rw-r--r--src/lib/cfuns-c.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/cfuns-c.cxx b/src/lib/cfuns-c.cxx
index 11c28691..5dbcd6bc 100644
--- a/src/lib/cfuns-c.cxx
+++ b/src/lib/cfuns-c.cxx
@@ -79,11 +79,6 @@
#endif
namespace OpenAxiom {
- // Make a copy of string data on free store.
- static char*
- copy_c_str(const std::string& s) {
- return strdup(s.c_str());
- }
OPENAXIOM_C_EXPORT int
addtopath(char *dir)