mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-30 15:20:03 +03:00
Merge pull request #282 from MartinNowak/fixUT
fix statement is not reachable error in unittest
This commit is contained in:
commit
0d6484c6af
1 changed files with 3 additions and 3 deletions
|
@ -31,11 +31,11 @@ import dscanner_version;
|
||||||
|
|
||||||
import inifiled;
|
import inifiled;
|
||||||
|
|
||||||
|
version (unittest)
|
||||||
|
void main() {}
|
||||||
|
else
|
||||||
int main(string[] args)
|
int main(string[] args)
|
||||||
{
|
{
|
||||||
version (unittest)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
bool sloc;
|
bool sloc;
|
||||||
bool highlight;
|
bool highlight;
|
||||||
bool ctags;
|
bool ctags;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue