Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
7e985260
Commit
7e985260
authored
Apr 28, 2000
by
Andreas Gustafsson
Browse files
document UNUSED() and its location relative to REQIRE()
parent
64f8e4a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/dev/coding.html
View file @
7e985260
...
...
@@ -200,6 +200,13 @@ g(int i, /* other args here */
}
</CODE></PRE>
To suppress compiler warnings, unused function arguments are declared
using the
<CODE>
UNUSED()
</CODE>
macro.
<P>
In the function body, any
<CODE>
REQUIRE()
</CODE>
s are placed
immediately after the local variabled, followed by any
<CODE>
UNUSED()
</CODE>
declarations.
<P>
<H4>
Curly Braces
</H4>
Curly Braces do not get their own indentation.
An opening brace does not start a new line. The statements enclosed
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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