Index: src/OFString.h ================================================================== --- src/OFString.h +++ src/OFString.h @@ -241,11 +241,11 @@ * \brief Creates a new OFString containing the constructed specified path. * * \param firstComponent The first component of the path * \return A new autoreleased OFString */ -+ (instancetype)stringWithPath: (OFString*)firstComponent, ...; ++ (instancetype)stringWithPath: (OFString*)firstComponent, ... OF_SENTINEL; /** * \brief Creates a new OFString with the contents of the specified UTF-8 * encoded file. * @@ -473,11 +473,11 @@ * specified path. * * \param firstComponent The first component of the path * \return A new autoreleased OFString */ -- initWithPath: (OFString*)firstComponent, ...; +- initWithPath: (OFString*)firstComponent, ... OF_SENTINEL; /** * \brief Initializes an already allocated OFString with the constructed * specified path. *