Am Montag, den 03.05.2010, 18:40 +0200 schrieb Jérôme Duval: > 2010/5/3 <superstippi@xxxxxx>: > > - if (volume.IsReadOnly() || > > - > > volume.GetRootDirectory(&mountPoint) != B_OK) > > + if (volume.IsReadOnly() || > > !volume.IsPersistent() > > + || > > volume.GetRootDirectory(&mountPoint) != B_OK) { > > continue; > > + } > > Why adding braces ? Coding style requires it for multi-line if-statemens, which also goes for if-statements where just the if-clause itself makes it multi-line. Best regards, -Stephan