repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0165-7.cs
blob
0d0c2a0fc6bd4db29cd7244245c074f9dd785f5b
1
// CS0165: Use of unassigned local variable `service'
2
// Line: 16
3
using
System
;
4
5
public class
Foo
6
{
7
static void
Main
(
string
[]
args
)
8
{
9
int
service
;
10
11
for
(
int
pos
=
0
;
pos
<
args
.
Length
;
pos
++) {
12
service
=
1
;
13
break
;
14
}
15
16
Console
.
WriteLine
(
service
);
17
}
18
}