Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9a522589
Commit
9a522589
authored
Jul 19, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
programs: Remove unreachable break after return/break. Found by Smatch.
parent
02933a11
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
8 deletions
+0
-8
dialog.c
programs/notepad/dialog.c
+0
-2
framewnd.c
programs/regedit/framewnd.c
+0
-1
listview.c
programs/regedit/listview.c
+0
-1
taskmgr.c
programs/taskmgr/taskmgr.c
+0
-1
be_i386.c
programs/winedbg/be_i386.c
+0
-1
gdbproxy.c
programs/winedbg/gdbproxy.c
+0
-1
wordpad.c
programs/wordpad/wordpad.c
+0
-1
No files found.
programs/notepad/dialog.c
View file @
9a522589
...
...
@@ -188,10 +188,8 @@ BOOL DoCloseFile(void)
case
IDNO
:
break
;
case
IDCANCEL
:
return
(
FALSE
);
break
;
default:
return
(
FALSE
);
break
;
}
/* switch */
}
/* if */
...
...
programs/regedit/framewnd.c
View file @
9a522589
...
...
@@ -735,7 +735,6 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
StartValueRename
(
g_pChildWnd
->
hListWnd
);
}
break
;
break
;
case
ID_REGISTRY_PRINTERSETUP
:
/*PRINTDLG pd;*/
/*PrintDlg(&pd);*/
...
...
programs/regedit/listview.c
View file @
9a522589
...
...
@@ -446,7 +446,6 @@ static LRESULT CALLBACK ListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPAR
}
default:
return
CallWindowProc
(
g_orgListWndProc
,
hWnd
,
message
,
wParam
,
lParam
);
break
;
}
return
0
;
}
...
...
programs/taskmgr/taskmgr.c
View file @
9a522589
...
...
@@ -978,7 +978,6 @@ TaskManagerWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
pRC
->
bottom
=
pRC
->
top
+
nMinimumHeight
;
}
return
TRUE
;
break
;
case
WM_SIZE
:
/* Handle the window sizing in it's own function */
...
...
programs/winedbg/be_i386.c
View file @
9a522589
...
...
@@ -63,7 +63,6 @@ static void* be_i386_linearize(HANDLE hThread, const ADDRESS64* addr)
return
(
void
*
)((
le
.
HighWord
.
Bits
.
BaseHi
<<
24
)
+
(
le
.
HighWord
.
Bits
.
BaseMid
<<
16
)
+
le
.
BaseLow
+
(
DWORD
)
addr
->
Offset
);
break
;
case
AddrModeFlat
:
return
(
void
*
)(
DWORD
)
addr
->
Offset
;
}
...
...
programs/winedbg/gdbproxy.c
View file @
9a522589
...
...
@@ -2154,7 +2154,6 @@ static BOOL gdb_startup(struct gdb_context* gdbctx, DEBUG_EVENT* de, unsigned fl
case
-
1
:
/* error in parent... */
fprintf
(
stderr
,
"Cannot create gdb
\n
"
);
return
FALSE
;
break
;
default:
/* in parent... success */
break
;
case
0
:
/* in child... and alive */
...
...
programs/wordpad/wordpad.c
View file @
9a522589
...
...
@@ -287,7 +287,6 @@ static BOOL prompt_save_changes(void)
{
case
IDNO
:
return
TRUE
;
break
;
case
IDYES
:
if
(
wszFileName
[
0
])
...
...
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