Skip to content

Commit

Permalink
Remove debug stuff
Browse files Browse the repository at this point in the history
Signed-off-by: Juanjo Alvarez <juanjo.alvarezmartinez@datadoghq.com>
  • Loading branch information
juanjux committed Sep 23, 2024
1 parent e230454 commit eaf7d3c
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions ddtrace/appsec/_iast/_taint_tracking/Utils/PythonErrorGuard.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,10 @@ class PythonErrorGuard


private:
PyObject* ptype; ///< Exception type
PyObject* pvalue; ///< Exception value
PyObject* ptraceback; ///< Exception traceback
bool had_exception; ///< Flag indicating if an exception was present
PyObject* ptype;
PyObject* pvalue;
PyObject* ptraceback;
bool had_exception;

/**
* @brief Helper function to restore or decrement references.
*
* Restores the Python error if one was fetched; otherwise, decrements
* the reference counts of the fetched error objects.
*/
void restore_or_decref();
};

0 comments on commit eaf7d3c

Please sign in to comment.