Skip to content

Commit fd754db

Browse files
committed
Removed constant
1 parent 40e7d7c commit fd754db

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

legacy/builder/constants/constants.go

-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ const MSG_USING_LIBRARY = "Using library {0} in folder: {1} {2}"
125125
const MSG_USING_BOARD = "Using board '{0}' from platform in folder: {1}"
126126
const MSG_USING_CORE = "Using core '{0}' from platform in folder: {1}"
127127
const MSG_USING_PREVIOUS_COMPILED_FILE = "Using previously compiled file: {0}"
128-
const MSG_USING_CACHED_INCLUDES = "Using cached library dependencies for file: {0}"
129128
const MSG_WARNING_LIB_INVALID_CATEGORY = "WARNING: Category '{0}' in library {1} is not valid. Setting to '{2}'"
130129
const MSG_WARNING_PLATFORM_OLD_VALUES = "Warning: platform.txt from core '{0}' contains deprecated {1}, automatically converted to {2}. Consider upgrading this core."
131130
const MSG_WARNING_SPURIOUS_FILE_IN_LIB = "WARNING: Spurious {0} folder in '{1}' library"

legacy/builder/container_find_includes.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ func (f *CppIncludesFinder) findIncludesUntilDone(sourceFile *SourceFile) error
340340
if unchanged && f.cache.valid {
341341
include = f.cache.Next().Include
342342
if first && f.ctx.Verbose {
343-
f.ctx.GetLogger().Println(constants.LOG_LEVEL_INFO, constants.MSG_USING_CACHED_INCLUDES, sourcePath)
343+
f.ctx.GetLogger().Println("info", "Using cached library dependencies for file: {0}", sourcePath)
344344
}
345345
} else {
346346
preprocStderr, preprocErr = GCCPreprocRunnerForDiscoveringIncludes(f.ctx, sourcePath, targetFilePath, f.ctx.IncludeFolders)

0 commit comments

Comments
 (0)