[singular] 11/19: fix warning treated as error in pyobject.cc

felix salfelder felix-guest at moszumanska.debian.org
Mon May 26 13:18:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository singular.

commit 38b6d0f27fa31f7878d3b2ba546bc8e4f44dde75
Author: Felix Salfelder <felix at salfelder.org>
Date:   Tue Mar 19 08:27:10 2013 +0100

    fix warning treated as error in pyobject.cc
    
    Forwarded: not-needed
---
 Singular/pyobject.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Singular/pyobject.cc b/Singular/pyobject.cc
index 354b5b6..51a8882 100644
--- a/Singular/pyobject.cc
+++ b/Singular/pyobject.cc
@@ -240,7 +240,7 @@ protected:
     PyErr_Fetch(&pType, &pMessage, &pTraceback);
     
     Werror("pyobject error occured");
-    Werror(PyString_AsString(pMessage));
+    Werror("%s", PyString_AsString(pMessage));
     
     Py_XDECREF(pType);
     Py_XDECREF(pMessage);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/singular.git



More information about the debian-science-commits mailing list