This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
dmenu
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
remove always true condition in if statement
master
Guilherme Janczak
3 years ago
committed by
Hiltjo Posthuma
parent
1a13d0465d
commit
523aa08f51
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
stest.c
+ 1
- 1
stest.c
View File
@ -84,7 +84,7 @@ main(int argc, char *argv[])
if
(
!
argc
)
{
/* read list from stdin */
while
(
(
n
=
getline
(
&
line
,
&
linesiz
,
stdin
)
)
>
0
)
{
if
(
n
&
&
line
[
n
-
1
]
=
=
'
\n
'
)
if
(
line
[
n
-
1
]
=
=
'
\n
'
)
line
[
n
-
1
]
=
'
\0
'
;
test
(
line
,
line
)
;
}
Write
Preview
Loading…
Cancel
Save