[all] Add a "suppress" comment (for GCC) to func with implementation in doctrenderer.

This commit is contained in:
Sergey Konovalov
2023-05-13 15:33:29 +03:00
parent 542b885f8f
commit 2135d600da
4 changed files with 6 additions and 1 deletions

View File

@ -345,6 +345,7 @@ var performance = window.performance = (function(){
(function(window, undefined){
function ZLib()
{
/** @suppress {checkVars} */
this.engine = CreateNativeZip();
this.files = {};
}

View File

@ -33,6 +33,7 @@
"use strict";
function CNativeGraphics()
{
/** @suppress {checkVars} */
this.Native = CreateNativeGraphics();
this.isNativeGraphics = true;

View File

@ -131,8 +131,10 @@
window['AscCommon'].calculateProtectHash = function(args, callback) {
if (window["NATIVE_EDITOR_ENJINE"])
{
if (!AscCommon.hashEngine)
if (!AscCommon.hashEngine) {
/** @suppress {checkVars} */
AscCommon.hashEngine = CreateNativeHash();
}
let retArray = [];
for (var i = 0, len = args.length; i < len; i++)

View File

@ -54,6 +54,7 @@
{
function ZLib()
{
/** @suppress {checkVars} */
this.engine = window["NATIVE_EDITOR_ENJINE"] ? CreateNativeZip() : new AscCommon["CZLibEngineJS"]();
this.files = [];
}