Merge pull request #1015 from Azaezel/alpha41/consoleCleanups

fix warn reports for buffer over-runs
This commit is contained in:
Brian Roberts 2023-05-09 14:44:01 -05:00 committed by GitHub
commit 0d981b62cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 93 additions and 74 deletions

View file

@ -352,8 +352,8 @@ class Journal
template<typename T>
struct MethodRep: public FuncDecl {
typename T::ObjPtr obj;
typename T::MethodPtr method;
typename T::ObjPtr obj = NULL;
typename T::MethodPtr method = NULL;
virtual bool match(VoidPtr ptr,VoidMethod func) const {
return obj == (typename T::ObjPtr)ptr && method == (typename T::MethodPtr)func;
}