Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: tools/gn/variables.cc

Issue 778513003: gn: Employ the same INSERT_VARIABLE macro trick for switches.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: empty string Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/variables.cc
diff --git a/tools/gn/variables.cc b/tools/gn/variables.cc
index 102d6511b3cb457c61239238583584ac93f74584..4b0c5142cfecc942e6bce89df3c4b65f9fae825a 100644
--- a/tools/gn/variables.cc
+++ b/tools/gn/variables.cc
@@ -960,8 +960,8 @@ const char kVisibility_Help[] =
// -----------------------------------------------------------------------------
VariableInfo::VariableInfo()
- : help_short(NULL),
- help(NULL) {
+ : help_short(""),
+ help("") {
}
VariableInfo::VariableInfo(const char* in_help_short, const char* in_help)
« no previous file with comments | « tools/gn/switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698