mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 18:27:20 +02:00
Portability
- Fixed code that generated warning on Ubuntu.
This commit is contained in:
parent
2c90bca134
commit
773b028865
1 changed files with 0 additions and 4 deletions
|
@ -208,13 +208,9 @@ Chart::Chart (char type)
|
||||||
|
|
||||||
// Set the title.
|
// Set the title.
|
||||||
title = "(";
|
title = "(";
|
||||||
bool before_command = true;
|
|
||||||
std::vector <Arg>::const_iterator arg;
|
std::vector <Arg>::const_iterator arg;
|
||||||
for (arg = context.a3.begin (); arg != context.a3.end (); ++arg)
|
for (arg = context.a3.begin (); arg != context.a3.end (); ++arg)
|
||||||
{
|
{
|
||||||
if (arg->_category == Arg::cat_command)
|
|
||||||
before_command = false;
|
|
||||||
|
|
||||||
if (arg->_category == Arg::cat_program ||
|
if (arg->_category == Arg::cat_program ||
|
||||||
arg->_category == Arg::cat_rc ||
|
arg->_category == Arg::cat_rc ||
|
||||||
arg->_category == Arg::cat_override ||
|
arg->_category == Arg::cat_override ||
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue