From 9ec260619b48447e398445aecd6651d319b8217e Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Fri, 17 Jun 2022 16:34:32 +0200 Subject: fix: fix warnings reported by LGTM.com --- libraries/classparser/src/classfile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libraries/classparser/src/classfile.h') diff --git a/libraries/classparser/src/classfile.h b/libraries/classparser/src/classfile.h index 1616a828..d629dde1 100644 --- a/libraries/classparser/src/classfile.h +++ b/libraries/classparser/src/classfile.h @@ -17,7 +17,7 @@ public: is_synthetic = false; read_be(magic); if (magic != 0xCAFEBABE) - throw new classfile_exception(); + throw classfile_exception(); read_be(minor_version); read_be(major_version); constants.load(*this); @@ -153,4 +153,4 @@ public: // FIXME: doesn't free up memory on delete java::annotation_table visible_class_annotations; }; -} \ No newline at end of file +} -- cgit