]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Add const for second variable 262/head
authorJaroslav Mracek <jmracek@redhat.com>
Tue, 10 Apr 2018 10:47:18 +0000 (12:47 +0200)
committerJaroslav Mracek <jmracek@redhat.com>
Tue, 15 May 2018 11:35:24 +0000 (13:35 +0200)
commit4b88c70c712c45b49d9ee352306aa8f6725d3793
treee638e6a699cc6d7c680219aa1e4758e0e35411ae
parentf0ef172a591d9c1ca0e13e09955054ac9c473d67
Add const for second variable

The second variable is used as a source for copy and it is not modified
therefore it should be marked as s const. Then it is more easy to identify what
is source and what is target and also it is clear that the source variable will
be not modify by the function.

Additionally it allows to use const map or queue to create a copy or other
operations.
src/bitmap.c
src/bitmap.h
src/queue.c
src/queue.h