repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0165-6.cs
blob
12d8434a42082f63f95e39ca04ae6bb344019758
1
// cs0165-6.cs: Use of unassigned local variable `service'
2
// Line: 17
3
using
System
;
4
5
public class
Foo
6
{
7
static void
Main
(
string
[]
args
)
8
{
9
int
service
;
10
11
int
pos
=
0
;
12
while
(
pos
<
args
.
Length
) {
13
service
=
1
;
14
break
;
15
}
16
17
Console
.
WriteLine
(
service
);
18
}
19
}