mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
[CPP-370] Minor textual tweaks.
This commit is contained in:
@@ -70,8 +70,7 @@ class ConstFlow extends DataFlow::Configuration {
|
||||
ConstFlow() { this = "ConstFlow" }
|
||||
|
||||
override predicate isSource(DataFlow::Node source) {
|
||||
none()
|
||||
//isConst(source.asExpr())
|
||||
isConst(source.asExpr())
|
||||
}
|
||||
|
||||
override predicate isSink(DataFlow::Node sink) {
|
||||
|
||||
@@ -2,7 +2,7 @@ extern int printf(const char *fmt, ...);
|
||||
|
||||
// For the following `...gettext` functions, we assume that
|
||||
// all translations preserve the type and order of `%` specifiers
|
||||
// (and hence are safe to use as format strings). This is
|
||||
// (and hence are safe to use as format strings). This
|
||||
// assumption is hard-coded into the query.
|
||||
|
||||
extern char *gettext (const char *__msgid);
|
||||
|
||||
Reference in New Issue
Block a user