libopenstorage / openstorage

A multi-host clustered implementation of the open storage specification
Apache License 2.0
525 stars 118 forks source link

unionfs warnings #91

Closed bufdev closed 8 years ago

bufdev commented 8 years ago
$ make build
go build -tags "daemon btrfs_noversion have_btrfs have_unionfs"  github.com/libopenstorage/openstorage/api github.com/libopenstorage/openstorage/api/client github.com/libopenstorage/openstorage/api/server github.com/libopenstorage/openstorage/cli github.com/libopenstorage/openstorage/cluster github.com/libopenstorage/openstorage/cmd/osd github.com/libopenstorage/openstorage/config github.com/libopenstorage/openstorage/graph github.com/libopenstorage/openstorage/graph/drivers github.com/libopenstorage/openstorage/graph/drivers/layer0 github.com/libopenstorage/openstorage/graph/drivers/proxy github.com/libopenstorage/openstorage/pkg/chaos github.com/libopenstorage/openstorage/pkg/device github.com/libopenstorage/openstorage/pkg/mount github.com/libopenstorage/openstorage/pkg/seed github.com/libopenstorage/openstorage/pkg/stats github.com/libopenstorage/openstorage/volume github.com/libopenstorage/openstorage/volume/drivers github.com/libopenstorage/openstorage/volume/drivers/aws github.com/libopenstorage/openstorage/volume/drivers/btrfs github.com/libopenstorage/openstorage/volume/drivers/buse github.com/libopenstorage/openstorage/volume/drivers/fuse github.com/libopenstorage/openstorage/volume/drivers/nfs github.com/libopenstorage/openstorage/volume/drivers/pwx github.com/libopenstorage/openstorage/volume/drivers/test github.com/libopenstorage/openstorage/volume/drivers/vfs
# github.com/libopenstorage/openstorage/graph/drivers/unionfs
graph/drivers/unionfs/unionfs.c: In function ‘real_path’:
graph/drivers/unionfs/unionfs.c:96:12: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
    asprintf(&r, "%s%s", ufs->layers[i], path);
            ^
graph/drivers/unionfs/unionfs.c:113:12: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
    asprintf(&r, "%s%s", ufs->layers[i], path);
            ^
graph/drivers/unionfs/unionfs.c: In function ‘alloc_unionfs’:
graph/drivers/unionfs/unionfs.c:986:11: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
   asprintf(&parent, "%s/_parent", layer);
jvinod commented 8 years ago

ping @gourao

jvinod commented 8 years ago

erstwhile unionfs moved out