diff --git a/src/actions/transformations/base64_decode.cc b/src/actions/transformations/base64_decode.cc index 0f1d59b1..4c2f9a8f 100644 --- a/src/actions/transformations/base64_decode.cc +++ b/src/actions/transformations/base64_decode.cc @@ -40,7 +40,9 @@ std::string Base64Decode::evaluate(std::string value, /** * @todo Implement the transformation base64decode */ - assay->debug(4, "Transformation 64 is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation 64 is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/base64_decode_ext.cc b/src/actions/transformations/base64_decode_ext.cc index 97b4bde2..8cccd551 100644 --- a/src/actions/transformations/base64_decode_ext.cc +++ b/src/actions/transformations/base64_decode_ext.cc @@ -40,7 +40,10 @@ std::string Base64DecodeExt::evaluate(std::string value, /** * @todo Implement the transformation Base64DecodeExt */ - assay->debug(4, "Transformation Base64DecodeExt is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation Base64DecodeExt is" \ + " not implemented yet."); + } return value; } diff --git a/src/actions/transformations/cmd_line.cc b/src/actions/transformations/cmd_line.cc index 0deec1a2..4f2f6c8c 100644 --- a/src/actions/transformations/cmd_line.cc +++ b/src/actions/transformations/cmd_line.cc @@ -40,7 +40,9 @@ std::string CmdLine::evaluate(std::string value, /** * @todo Implement the transformation CmdLine */ - assay->debug(4, "Transformation CmdLine is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation CmdLine is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/compress_whitespace.cc b/src/actions/transformations/compress_whitespace.cc index f9f976f1..6ec0c769 100644 --- a/src/actions/transformations/compress_whitespace.cc +++ b/src/actions/transformations/compress_whitespace.cc @@ -40,8 +40,10 @@ std::string CompressWhitespace::evaluate(std::string value, /** * @todo Implement the transformation CompressWhitespace */ - assay->debug(4, "Transformation CompressWhitespace is " \ - "not implemented yet."); + if (assay) { + assay->debug(4, "Transformation CompressWhitespace is " \ + "not implemented yet."); + } return value; } diff --git a/src/actions/transformations/escape_seq_decode.cc b/src/actions/transformations/escape_seq_decode.cc index 588dd70b..3d2ef8e9 100644 --- a/src/actions/transformations/escape_seq_decode.cc +++ b/src/actions/transformations/escape_seq_decode.cc @@ -40,7 +40,10 @@ std::string EscapeSeqDecode::evaluate(std::string value, /** * @todo Implement the transformation EscapeSeqDecode */ - assay->debug(4, "Transformation EscapeSeqDecode is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation EscapeSeqDecode is " \ + "not implemented yet."); + } return value; } diff --git a/src/actions/transformations/hex_decode.cc b/src/actions/transformations/hex_decode.cc index 8c76ce03..742ee2dd 100644 --- a/src/actions/transformations/hex_decode.cc +++ b/src/actions/transformations/hex_decode.cc @@ -40,7 +40,9 @@ std::string HexDecode::evaluate(std::string value, /** * @todo Implement the transformation HexDecode */ - assay->debug(4, "Transformation HexDecode is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation HexDecode is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/hex_encode.cc b/src/actions/transformations/hex_encode.cc index 3ef3a61f..effc0218 100644 --- a/src/actions/transformations/hex_encode.cc +++ b/src/actions/transformations/hex_encode.cc @@ -40,7 +40,9 @@ std::string HexEncode::evaluate(std::string value, /** * @todo Implement the transformation HexEncode */ - assay->debug(4, "Transformation HexEncode is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation HexEncode is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/length.cc b/src/actions/transformations/length.cc index d01a3ded..de93e2f5 100644 --- a/src/actions/transformations/length.cc +++ b/src/actions/transformations/length.cc @@ -40,7 +40,9 @@ std::string Length::evaluate(std::string value, /** * @todo Implement the transformation Length */ - assay->debug(4, "Transformation Length is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation Length is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/md5.cc b/src/actions/transformations/md5.cc index a2b022b3..1ad70fc4 100644 --- a/src/actions/transformations/md5.cc +++ b/src/actions/transformations/md5.cc @@ -40,7 +40,9 @@ std::string Md5::evaluate(std::string value, /** * @todo Implement the transformation Md5 */ - assay->debug(4, "Transformation Md5 is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation Md5 is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/normalise_path.cc b/src/actions/transformations/normalise_path.cc index 430eafb9..aa863a86 100644 --- a/src/actions/transformations/normalise_path.cc +++ b/src/actions/transformations/normalise_path.cc @@ -40,7 +40,10 @@ std::string NormalisePath::evaluate(std::string value, /** * @todo Implement the transformation NormalisePath */ - assay->debug(4, "Transformation NormalisePath is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation NormalisePath is not" \ + " implemented yet."); + } return value; } diff --git a/src/actions/transformations/parity_even_7bit.cc b/src/actions/transformations/parity_even_7bit.cc index c9b7bea2..59324aa4 100644 --- a/src/actions/transformations/parity_even_7bit.cc +++ b/src/actions/transformations/parity_even_7bit.cc @@ -40,7 +40,10 @@ std::string ParityEven7bit::evaluate(std::string value, /** * @todo Implement the transformation ParityEven7bit */ - assay->debug(4, "Transformation ParityEven7bit is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation ParityEven7bit is not" \ + " implemented yet."); + } return value; } diff --git a/src/actions/transformations/parity_odd_7bit.cc b/src/actions/transformations/parity_odd_7bit.cc index c34aa9d2..48438a33 100644 --- a/src/actions/transformations/parity_odd_7bit.cc +++ b/src/actions/transformations/parity_odd_7bit.cc @@ -40,7 +40,10 @@ std::string ParityOdd7bit::evaluate(std::string value, /** * @todo Implement the transformation ParityOdd7bit */ - assay->debug(4, "Transformation ParityOdd7bit is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation ParityOdd7bit is not " \ + "implemented yet."); + } return value; } diff --git a/src/actions/transformations/parity_zero_7bit.cc b/src/actions/transformations/parity_zero_7bit.cc index 05720d41..a3173e29 100644 --- a/src/actions/transformations/parity_zero_7bit.cc +++ b/src/actions/transformations/parity_zero_7bit.cc @@ -40,7 +40,10 @@ std::string ParityZero7bit::evaluate(std::string value, /** * @todo Implement the transformation ParityZero7bit */ - assay->debug(4, "Transformation ParityZero7bit is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation ParityZero7bit is not" \ + "implemented yet."); + } return value; } diff --git a/src/actions/transformations/remove_comments.cc b/src/actions/transformations/remove_comments.cc index 9f628e64..526cbb8b 100644 --- a/src/actions/transformations/remove_comments.cc +++ b/src/actions/transformations/remove_comments.cc @@ -40,8 +40,10 @@ std::string RemoveComments::evaluate(std::string value, /** * @todo Implement the transformation RemoveComments */ - assay->debug(4, "Transformation RemoveComments is not " \ - "implemented yet."); + if (assay) { + assay->debug(4, "Transformation RemoveComments is not " \ + "implemented yet."); + } return value; } diff --git a/src/actions/transformations/remove_comments_char.cc b/src/actions/transformations/remove_comments_char.cc index cfd102d0..c23221f9 100644 --- a/src/actions/transformations/remove_comments_char.cc +++ b/src/actions/transformations/remove_comments_char.cc @@ -40,8 +40,10 @@ std::string RemoveCommentsChar::evaluate(std::string value, /** * @todo Implement the transformation RemoveCommentsChar */ - assay->debug(4, "Transformation RemoveCommentsChar " \ - "is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation RemoveCommentsChar " \ + "is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/remove_whitespace.cc b/src/actions/transformations/remove_whitespace.cc index 4aff1dd0..e69262e5 100644 --- a/src/actions/transformations/remove_whitespace.cc +++ b/src/actions/transformations/remove_whitespace.cc @@ -40,7 +40,9 @@ std::string RemoveWhitespace::evaluate(std::string value, /** * @todo Implement the transformation RemoveWhitespace */ - assay->debug(4, "Transformation RemoveWhitespace is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation RemoveWhitespace is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/replace_comments.cc b/src/actions/transformations/replace_comments.cc index 06d1c6c5..b04cc3b0 100644 --- a/src/actions/transformations/replace_comments.cc +++ b/src/actions/transformations/replace_comments.cc @@ -40,7 +40,9 @@ std::string ReplaceComments::evaluate(std::string value, /** * @todo Implement the transformation ReplaceComments */ - assay->debug(4, "Transformation ReplaceComments is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation ReplaceComments is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/replace_nulls.cc b/src/actions/transformations/replace_nulls.cc index cd4c7d43..72c5c36b 100644 --- a/src/actions/transformations/replace_nulls.cc +++ b/src/actions/transformations/replace_nulls.cc @@ -40,7 +40,9 @@ std::string ReplaceNulls::evaluate(std::string value, /** * @todo Implement the transformation ReplaceNulls */ - assay->debug(4, "Transformation ReplaceNulls is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation ReplaceNulls is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/sha1.cc b/src/actions/transformations/sha1.cc index 428830b5..15d25b5b 100644 --- a/src/actions/transformations/sha1.cc +++ b/src/actions/transformations/sha1.cc @@ -40,7 +40,9 @@ std::string Sha1::evaluate(std::string value, /** * @todo Implement the transformation Sha1 */ - assay->debug(4, "Transformation Sha1 is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation Sha1 is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/sql_hex_decode.cc b/src/actions/transformations/sql_hex_decode.cc index 8ec45626..dcf62815 100644 --- a/src/actions/transformations/sql_hex_decode.cc +++ b/src/actions/transformations/sql_hex_decode.cc @@ -40,7 +40,9 @@ std::string SqlHexDecode::evaluate(std::string value, /** * @todo Implement the transformation SqlHexDecode */ - assay->debug(4, "Transformation SqlHexDecode is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation SqlHexDecode is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/url_decode.cc b/src/actions/transformations/url_decode.cc index 6d1e767b..ee33ea49 100644 --- a/src/actions/transformations/url_decode.cc +++ b/src/actions/transformations/url_decode.cc @@ -40,7 +40,9 @@ std::string UrlDecode::evaluate(std::string value, /** * @todo Implement the transformation UrlDecode */ - assay->debug(4, "Transformation UrlDecode is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation UrlDecode is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/url_encode.cc b/src/actions/transformations/url_encode.cc index 8bce953c..101e5d97 100644 --- a/src/actions/transformations/url_encode.cc +++ b/src/actions/transformations/url_encode.cc @@ -40,7 +40,9 @@ std::string UrlEncode::evaluate(std::string value, /** * @todo Implement the transformation UrlEncode */ - assay->debug(4, "Transformation UrlEncode is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation UrlEncode is not implemented yet."); + } return value; } diff --git a/src/actions/transformations/utf8_to_unicode.cc b/src/actions/transformations/utf8_to_unicode.cc index 725c55f7..5c3687ea 100644 --- a/src/actions/transformations/utf8_to_unicode.cc +++ b/src/actions/transformations/utf8_to_unicode.cc @@ -40,7 +40,9 @@ std::string Utf8Unicode::evaluate(std::string value, /** * @todo Implement the transformation Utf8Unicode */ - assay->debug(4, "Transformation Utf8Unicode is not implemented yet."); + if (assay) { + assay->debug(4, "Transformation Utf8Unicode is not implemented yet."); + } return value; }