MantisBT - CDash | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014344 | CDash | (No Category) | public | 2013-08-07 12:49 | 2013-10-28 09:15 |
Reporter | Igor | ||||
Assigned To | Julien Jomier | ||||
Priority | none | Severity | tweak | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | 2.2 | |||
Summary | 0014344: [PATCH] Cosmetics: Simplify some if conditions | ||||
Description | Unset variables is a subset of empty variables: !isset($var) == true implies empty($var) == true !empty($var) == true implies isset($var) == true Thus, !isset($var) || empty($var) could be simplified to: empty($var) | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | 0001-Cosmetics-Simplify-some-if-conditions.patch (2,454) 2013-08-07 12:49 https://public.kitware.com/Bug/file/4839/0001-Cosmetics-Simplify-some-if-conditions.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-08-07 12:49 | Igor | New Issue | |||
2013-08-07 12:49 | Igor | File Added: 0001-Cosmetics-Simplify-some-if-conditions.patch | |||
2013-10-28 09:13 | Julien Jomier | Assigned To | => Julien Jomier | ||
2013-10-28 09:13 | Julien Jomier | Status | new => assigned | ||
2013-10-28 09:15 | Julien Jomier | Status | assigned => resolved | ||
2013-10-28 09:15 | Julien Jomier | Fixed in Version | => 2.2 | ||
2013-10-28 09:15 | Julien Jomier | Resolution | open => fixed |
There are no notes attached to this issue. |