projects
/
xonotic
/
gmqcc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d45398
)
fix std::string constructed from nullptr
author
Wolfgang Bumiller <wry.git@bumiller.com>
Sun, 1 Feb 2015 11:13:22 +0000
(12:13 +0100)
committer
Wolfgang Bumiller <wry.git@bumiller.com>
Sun, 1 Feb 2015 11:13:22 +0000
(12:13 +0100)
fold.cpp
patch
|
blob
|
history
diff --git
a/fold.cpp
b/fold.cpp
index 81c6c3ff0eba3c4af298a7fa77a61fd248a3a122..658ec382e342d10ce2ed91e2be611d0acd82eed6 100644
(file)
--- a/
fold.cpp
+++ b/
fold.cpp
@@
-1073,7
+1073,7
@@
ast_expression *fold::op_mul_vec(vec3_t vec, ast_value *sel, const char *set) {
if (!y && !z) {
ast_expression *out;
++opts_optimizationcount[OPTIM_VECTOR_COMPONENTS];
- out = ast_member::make(ctx(), (ast_expression*)sel, set[0]-'x',
nullptr
);
+ out = ast_member::make(ctx(), (ast_expression*)sel, set[0]-'x',
""
);
out->m_keep_node = false;
((ast_member*)out)->m_rvalue = true;
if (x != -1.0f)