[gnutls-devel] GnuTLS | trust: make filesystem path construction flexible (!1493)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Dec 27 11:20:17 CET 2022




Tim Rühsen started a new discussion on lib/pathbuf.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1493#note_1221557527

> + * You should have received a copy of the GNU Lesser General Public License
> + * along with this program.  If not, see <https://www.gnu.org/licenses/>
> + *
> + */
> +
> +#include "config.h"
> +
> +#include "pathbuf.h"
> +#include "gnutls_int.h"
> +#include <limits.h>
> +#include "intprops.h"
> +
> +static int
> +pathbuf_reserve(struct gnutls_pathbuf_st *buffer, size_t to_add)
> +{
> +	size_t cap;

```
pathbuf.c:34:16: error: unused variable 'cap' [-Werror=unused-variable]
   34 |         size_t cap;
      |                ^~~
```
:smile:

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1493#note_1221557527
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20221227/bb59f233/attachment-0001.html>


More information about the Gnutls-devel mailing list