[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 5018df4: Minor corrections for small issues fo
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 5018df4: Minor corrections for small issues found by Debians lintian |
Date: |
Sat, 8 Aug 2020 23:17:33 -0400 (EDT) |
branch: master
commit 5018df4a7ea1d1f480d5bd07bf3d8356ecafb490
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Minor corrections for small issues found by Debians lintian
After a test packaging for Debian, Lintian (Debian's tool to check the
packaged product) found some small things like typos that have been
corrected. I also noticed that the GCC printed a warning that had no effect
on the program. So I initialized the respective variable.
---
bin/fits/keywords.c | 2 +-
bin/warp/ui.c | 2 +-
doc/release-checklist.txt | 2 +-
lib/interpolate.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/bin/fits/keywords.c b/bin/fits/keywords.c
index c941539..621dccf 100644
--- a/bin/fits/keywords.c
+++ b/bin/fits/keywords.c
@@ -478,7 +478,7 @@ keywords_distortion_wcs(struct fitsparams *p)
&& gal_wcs_distortion_identify(inwcs)==GAL_WCS_DISTORTION_TPV
&& p->distortionid==GAL_WCS_DISTORTION_SIP )
error(0, 0, "no data associated with WCS for distortion "
- "converstion.\n\n"
+ "conversion.\n\n"
"The requested conversion can't be done analytically, so a "
"solution has to be found by fitting the parameters over a "
"grid of pixels. We will use a default grid of %zux%zu pixels "
diff --git a/bin/warp/ui.c b/bin/warp/ui.c
index 47f5bba..0ac4aae 100644
--- a/bin/warp/ui.c
+++ b/bin/warp/ui.c
@@ -715,7 +715,7 @@ ui_matrix_from_modular(struct warpparams *p)
if(p->centeroncorner)
error(EXIT_FAILURE, 0, "'--translate' and '--centeroncorner' "
"(which is a type of translation) cannot be called "
- "together. To acheive the effect of --centeroncorner, "
+ "together. To achieve the effect of --centeroncorner, "
"start the warp steps with a translation of 0.5 to move "
"the coordinate center to the corner of a pixel in each "
"dimension");
diff --git a/doc/release-checklist.txt b/doc/release-checklist.txt
index cef4c0a..c5126a9 100644
--- a/doc/release-checklist.txt
+++ b/doc/release-checklist.txt
@@ -232,7 +232,7 @@ Steps necessary to Package Gnuastro for Debian.
$ sudo apt-get install ssh devscripts pbuilder pristine-tar git quilt \
lintian lzip emacs dh-make
$ sudo apt-get install ghostscript libcfitsio-dev libtool-bin wcslib-dev \
- libgsl-dev libjpeg-dev libtiff-dev libgit2-dev \
+ libgsl-dev libjpeg-dev libtiff-dev libgit2-dev
$ sudo pbuilder create
$ su
# usermod -aG sudo YOURUSERID # Add your user to the 'sudo' group.
diff --git a/lib/interpolate.c b/lib/interpolate.c
index 341ddcf..ecbf6fb 100644
--- a/lib/interpolate.c
+++ b/lib/interpolate.c
@@ -99,7 +99,7 @@ interpolate_neighbors_on_thread(void *in_prm)
gal_list_dosizet_t *lQ, *sQ;
size_t ngb_counter, pind, *dinc;
size_t i, index, fullind, chstart=0, ndim=input->ndim;
- gal_data_t *value, *tin, *tout, *tnear, *nearest=NULL;
+ gal_data_t *tin, *tout, *tnear, *value=NULL, *nearest=NULL;
size_t size = (correct_index ? tl->tottilesinch : input->size);
size_t *dsize = (correct_index ? tl->numtilesinch : input->dsize);
size_t *icoord=gal_pointer_allocate(GAL_TYPE_SIZE_T, ndim, 0, __func__,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master 5018df4: Minor corrections for small issues found by Debians lintian,
Mohammad Akhlaghi <=