Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b593c9c5
Kaydet (Commit)
b593c9c5
authored
Ock 27, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror=implicit-fallthrough= (GCC 7)
Change-Id: I9d6c7e5a03aea56d8db84c2ba06c63efb0e007fa
üst
cf06348d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
2 deletions
+8
-2
cpp1.c
rsc/source/rscpp/cpp1.c
+3
-0
cpp2.c
rsc/source/rscpp/cpp2.c
+1
-0
cpp4.c
rsc/source/rscpp/cpp4.c
+2
-1
cpp5.c
rsc/source/rscpp/cpp5.c
+1
-0
cpp6.c
rsc/source/rscpp/cpp6.c
+1
-1
No files found.
rsc/source/rscpp/cpp1.c
Dosyayı görüntüle @
b593c9c5
...
...
@@ -278,6 +278,7 @@ int MAIN(int argc, char** argv)
}
}
/* Continue by opening output */
}
/* fall through */
#endif
case
3
:
/*
...
...
@@ -293,6 +294,7 @@ int MAIN(int argc, char** argv)
exit
(
IO_ERROR
);
}
}
/* Continue by opening input */
/* fall through */
case
2
:
/* One file -> stdin */
/*
* Open input file, "-" means use stdin.
...
...
@@ -309,6 +311,7 @@ int MAIN(int argc, char** argv)
strncpy
(
work
,
useargv
[
1
],
NWORK
);
/* Remember input filename */
break
;
}
/* Else, just get stdin */
/* fall through */
case
0
:
/* No args? */
case
1
:
/* No files, stdin -> stdout */
work
[
0
]
=
EOS
;
/* Unix can't find stdin name */
...
...
rsc/source/rscpp/cpp2.c
Dosyayı görüntüle @
b593c9c5
...
...
@@ -120,6 +120,7 @@ int control(int counter)
if
(
++
ifptr
>=
&
ifstack
[
BLK_NEST
])
goto
if_nest_err
;
*
ifptr
=
0
;
/* !WAS_COMPILING */
/* fall through */
case
L_line
:
/* Many */
/*
* Are pragma's always processed?
...
...
rsc/source/rscpp/cpp4.c
Dosyayı görüntüle @
b593c9c5
...
...
@@ -190,7 +190,7 @@ void dodefine()
break
;
/* spaces */
else
if
(
c
==
'\t'
)
c
=
' '
;
/* Normalize tabs */
/*
Fall through to store character
*/
/*
fall through *//* to store character
*/
default:
/* Other character */
save
(
c
);
break
;
...
...
@@ -461,6 +461,7 @@ void expand(DEFBUF* tokenp)
dumpparm
(
"expand"
);
#endif
}
/* Collect arguments */
/* fall through */
case
DEF_NOARGS
:
/* No parameters just stuffs */
expstuff
(
tokenp
);
/* Do actual parameters */
}
/* nargs switch */
...
...
rsc/source/rscpp/cpp5.c
Dosyayı görüntüle @
b593c9c5
...
...
@@ -352,6 +352,7 @@ again:
opname
[(
int
)
opp
->
op
]);
return
1
;
}
/* fall through */
/*
* Evaluate op1.
*/
...
...
rsc/source/rscpp/cpp6.c
Dosyayı görüntüle @
b593c9c5
...
...
@@ -902,7 +902,7 @@ int get()
#ifdef STRICT_COMMENTS
cwarn
(
"Nested comments"
,
NULLST
);
#endif
/*
Fall into * stuff
*/
/*
fall through *//* into * stuff
*/
case
'*'
:
if
((
c
=
get
())
!=
'/'
)
/* If comment doesn't */
goto
test
;
/* end, look at next */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment