Fix ARI warnings in d-exp.y
authorIain Buclaw <ibuclaw@gdcproject.org>
Fri, 14 Aug 2015 19:25:17 +0000 (21:25 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Fri, 14 Aug 2015 19:26:17 +0000 (21:26 +0200)
commitc0fe2ae7064c4f927034aca87913bc28920721d9
treeef11b9107c8334fde510eec92bfc0cc673e6c548
parenta738da3abe2bc02d70521086cf1d0e23565b8fbe
Fix ARI warnings in d-exp.y

This fixes four ARI warnings found in d-exp.y.

This is comprised of three uses of the && or || at the end of a line, and one
use of sprintf.

gdb/ChangeLog

* d-exp.y (PrimaryExpression : TypeExp '.' IdentifierExp): Use
xstrprintf instead of malloc and sprintf.
(PrimaryExpression : IdentifierExp): Avoid operator at end of line.
(lex_one_token): Likewise.
gdb/ChangeLog
gdb/d-exp.y
This page took 0.02541 seconds and 4 git commands to generate.