Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
4afc641f
Commit
4afc641f
authored
Jul 12, 2017
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxcomp: Add __attribute__((noreturn)) to more functions where appropriate.
parent
b3a3382a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Channel.h
nxcomp/src/Channel.h
+1
-1
Jpeg.cpp
nxcomp/src/Jpeg.cpp
+1
-1
Transport.h
nxcomp/src/Transport.h
+2
-2
No files found.
nxcomp/src/Channel.h
View file @
4afc641f
...
...
@@ -519,7 +519,7 @@ class Channel
// Set up the split stores.
//
void
handleSplitStoreError
(
int
resource
);
void
handleSplitStoreError
(
int
resource
)
__attribute__
((
noreturn
))
;
void
handleSplitStoreAlloc
(
List
*
list
,
int
resource
);
void
handleSplitStoreRemove
(
List
*
list
,
int
resource
);
...
...
nxcomp/src/Jpeg.cpp
View file @
4afc641f
...
...
@@ -106,7 +106,7 @@ static int DecompressJpeg24(unsigned char *compressedData, int compressedLen,
static
int
DecompressJpeg32
(
unsigned
char
*
compressedData
,
int
compressedLen
,
unsigned
int
w
,
unsigned
int
h
,
unsigned
char
*
dstBuf
,
int
byteOrder
);
void
UnpackJpegErrorHandler
(
j_common_ptr
cinfo
);
void
UnpackJpegErrorHandler
(
j_common_ptr
cinfo
)
__attribute__
((
noreturn
))
;
//
// Colormap stuff.
...
...
nxcomp/src/Transport.h
View file @
4afc641f
...
...
@@ -413,9 +413,9 @@ class AgentTransport : public Transport
// These two should never be called.
//
virtual
int
flush
();
virtual
int
flush
()
__attribute__
((
noreturn
))
;
virtual
int
drain
(
int
limit
,
int
timeout
);
virtual
int
drain
(
int
limit
,
int
timeout
)
__attribute
((
noreturn
))
;
//
// Same as in the base class.
...
...
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