Thread (3 messages) flat view 3 messages, 2 authors, 2011-02-24

Re: [PATCH] Add sec-level option to interactive gattool

From: Johan Hedberg <hidden>
Date: 2011-02-24 02:56:53

Hi Sheldon,

On Wed, Feb 23, 2011, Sheldon Demario wrote:
+	if (conn_state == STATE_CONNECTED) {
I think it'd be cleaner to have:

	if (conn_state != STATE_CONNECTED)
		return;
+
+	return;
+}
Never have empty return statements at the end of void-functions.

Johan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help